Re: Driver writer hints (was [PATCH 3/4] Add ETHTOOL_[GS]PFLAGS sub-ioctls)

2007-08-10 Thread Jeff Garzik
Rick Jones wrote: If we are getting (retrieving) flags: 3) Userland issues ETHTOOL_GPFLAGS, to obtain a 32-bit bitmap 4) Userland prints out a tag returned from ETHTOOL_GSTRINGS for each bit set to one in the bitmap. If a bit is set, but there is no string to describe it,

Re: Driver writer hints (was [PATCH 3/4] Add ETHTOOL_[GS]PFLAGS sub-ioctls)

2007-08-10 Thread Rick Jones
If we are getting (retrieving) flags: 3) Userland issues ETHTOOL_GPFLAGS, to obtain a 32-bit bitmap 4) Userland prints out a tag returned from ETHTOOL_GSTRINGS for each bit set to one in the bitmap. If a bit is set, but there is no string to describe it, that bit is ignore

Driver writer hints (was [PATCH 3/4] Add ETHTOOL_[GS]PFLAGS sub-ioctls)

2007-08-10 Thread Jeff Garzik
Jeff Garzik wrote: commit 4901236cec047029b970261b95e47d6be60f523e Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri Aug 10 15:52:06 2007 -0400 [ETHTOOL] Introduce ->{get,set}_priv_flags, ETHTOOL_[GS]PFLAGS Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> include/linux/ethtool.h