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



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Graphics drawstring doesnt affect PictureBox bitmap image
    ... You have to draw on the bitmap itself. ... Answer those GDI+ questions with the GDI+ FAQ ... > string is not saved as part of the bitmap. ...
    (microsoft.public.dotnet.framework.drawing)
  • [PATCH] bitmap parsing/printing routines, version 4
    ... This release of the bitmap parser/printer continues the cycle of making ... I gradually came to feel that examining the whole string was important, ... int bitmap_weight ... * and a length, describing the mask contents. ...
    (Linux-Kernel)
  • Re: seperator error in __mask_snprintf_len
    ... This patch captures what I am looking for in bitmap display and input. ... * bitmap_snprintf - convert bitmap to an ASCII hex string. ... * and a length, describing the mask contents. ...
    (Linux-Kernel)
  • Re: colored text and bitmap in CListBox
    ... Either way, if he uses LBS_HASSTRINGS in his listbox or stores them himself, ... for example, it would have a command to draw a string, then a bitmap, then ... then another bitmap, etc. ... would therefore display no icon, a circle-i, ...
    (microsoft.public.vc.mfc)
  • Re: colored text and bitmap in CListBox
    ... for example, it would have a command to draw a string, then a bitmap, then ... then another bitmap, etc. ... would therefore display no icon, a circle-i, ... class Icon: public MessageObject { ...
    (microsoft.public.vc.mfc)