• Andrew Morton's avatar
    [PATCH] ppc32: MBX MAC address fix · 4b29eb07
    Andrew Morton authored
    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.
    4b29eb07
embed_config.c 18.5 KB