On Thu, 2008-11-20 at 19:43 +0100, Martin Mares wrote: > Hello! > > > This should answer all your comments. > > Fine. Could you please send me some test data? (VPD data of some real device) Here's a hex dump of the VPD from a board I'm testing. Everything after the end marker (0x78) at address 0x6d should be ignored. The controller is configured to map 0x100 bytes of EEPROM to VPD, and returns zeroes for the unmapped VPD space (0x100-0x7fff). I can construct a more interesting example with a read/write section if you like. Ben. 000000 82 2c 00 53 6f 6c 61 72 73 74 6f 72 6d 20 53 46 000010 4e 34 31 31 31 54 20 31 30 47 42 41 53 45 2d 54 000020 20 53 65 72 76 65 72 20 41 64 61 70 74 65 72 90 000030 3b 00 50 4e 08 53 46 4e 34 31 31 31 54 45 43 18 000040 50 43 42 52 33 3a 43 43 53 42 30 3a 43 43 46 31 000050 2e 34 37 2e 35 2e 31 39 53 4e 0d 53 46 4e 34 31 000060 31 31 54 52 33 2d 37 39 52 56 02 e5 00 78 ff ff 000070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff * 000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 008000 -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html