]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: MBX MAC address fix
authorAndrew Morton <akpm@osdl.org>
Sat, 31 Jan 2004 04:22:51 +0000 (20:22 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 31 Jan 2004 04:22:51 +0000 (20:22 -0800)
commit4b29eb07dad89c5ca87389265659eedd3bfe56a0
tree4262814168fd1a91000b2db37d43a1341e44db68
parent9d3e58e32d6f6b1f5b532c0c8ee11fdcfbfedabd
[PATCH] ppc32: MBX MAC address fix

From Tom Rini <trini@kernel.crashing.org>

On the MBX the kernel made an assumption about where the MAC address would
be in the VPD (Vital Product Data).  However, the documentation for the
firmware (EPPC-Bug) describes the format of the VPD and makes no
guarrantees about the location of any VPD record.  It does however describe
the format of each record type and the MAC address record will be of type
'08' and of size 6.  This changes the code so that instead of assuming a
position, it searches for the record, which I assume is also what EPPC-Bug
does.
arch/ppc/boot/simple/embed_config.c