]> git.ipfire.org Git - thirdparty/pciutils.git/commit
Correct Device Serial Number output
authorMatthew Wilcox <matthew@wil.cx>
Fri, 27 Feb 2009 13:20:04 +0000 (06:20 -0700)
committerMartin Mares <mj@ucw.cz>
Wed, 4 Mar 2009 10:27:20 +0000 (11:27 +0100)
commit6f9f8fd740d30111953c38944214f2857cca5894
tree73819525d50252c38395863733ffd3057d1de173
parent1c702facf4cbf0cda71f991e26fc750b3538b0ad
Correct Device Serial Number output

We are currently printing the Device Serial Number backwards.  Ben
Hutchings noticed that the DSN was an EUI-64 (derived from a MAC
address), but printed backwards.  Before:

        Capabilities: [140] Device Serial Number 97-62-84-ff-ff-3b-1f-00

After:
        Capabilities: [140] Device Serial Number 00-1f-3b-ff-ff-84-62-97

The MAC address is:

wlan0     Link encap:Ethernet  HWaddr 00:1f:3b:84:62:97

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
ls-ecaps.c