]> git.neil.brown.name Git - history.git/commit
[PATCH] dscc4: reset changes
authorAndrew Morton <akpm@osdl.org>
Wed, 20 Aug 2003 17:27:47 +0000 (10:27 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 20 Aug 2003 17:27:47 +0000 (10:27 -0700)
commita37a07759a4fd22ccb4c8e0462086c11f7493998
treea5e5b9487b8e9973fcfb8d19fc6cb149e6ad430f
parent1bcf2af4697bf86ede71c4e229d4ef93141632e4
[PATCH] dscc4: reset changes

From: Francois Romieu <romieu@fr.zoreil.com>

Workaround for lack of true reset:
- devices/ports are put in silent mode at ifconfig down time but some
  state is kept around to allow 'ifconfig up' issuing at a later time.
  Device specific structures are allocated when the pci asic is
  probed: dscc4_init_ring() moves from dscc4_open() to dscc4_found1().
- try to use reset related board-specific feature at module removal
  time if available. Comments in the code explain the whole story.
  Not a complicated feature but it is unavailable on the cards I own
  and no user gave me feedback -> currently untested.
  It shouldn't harm anyway.
drivers/net/wan/Kconfig
drivers/net/wan/dscc4.c