Re: ethtool locking

2007-07-11 Thread Stephen Hemminger
On Wed, 11 Jul 2007 11:58:08 +0100 Ben Dooks <[EMAIL PROTECTED]> wrote: > I am currently upgrading the DM9000 network driver to support > ethtool for items such as controlling the MII interface and > have the following question about locking with the ethtool > interface: > > Most devices use an o

ethtool locking

2007-07-11 Thread Ben Dooks
I am currently upgrading the DM9000 network driver to support ethtool for items such as controlling the MII interface and have the following question about locking with the ethtool interface: Most devices use an overall spinlock when changing the settings such as in the 8139too.c driver: static i