Michael Buesch <[EMAIL PROTECTED]> : [...] > > 3 - The data in the eeprom contains u16 and it has a known endianness. > > It can be annotated as such (__be16 eeprom[]). I do not know how to > > do the same with an u8 []. > > No. The eeprom is mostly not be16. The eeprom is mostly little > endian, except the mac address and some wireless specific bits > I forgot.
Sorry, s/__be16/__le16/ -- Ueimor - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html