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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ignored.
       (i.e. a list of 5 strings is returned, but bit 24 is set)

Is that to enable "hidden" bits? If not I'd think that emitting some sort of "UNKNOWN_FLAG" might help flush-out little oopses like forgetting a string.

rick jones

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux