The VPD engine is broken and can't actually handle placing VPD
authorMichael Brown <mcb30@etherboot.org>
Tue, 5 Dec 2006 17:56:13 +0000 (17:56 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 5 Dec 2006 17:56:13 +0000 (17:56 +0000)
anywhere other than offset 0 within the EEPROM, so we have to put our
settings at 0x100 instead.

src/drivers/net/etherfabric.c

index 2d978d0..9040f0c 100644 (file)
@@ -2332,7 +2332,7 @@ static void falcon_init_spi ( struct efab_nic *efab ) {
 #define FALCON_MAC_ADDRESS_OFFSET(port) ( 0x310 + 0x08 * (port) )
 
 static struct nvo_fragment falcon_eeprom_fragments[] = {
 #define FALCON_MAC_ADDRESS_OFFSET(port) ( 0x310 + 0x08 * (port) )
 
 static struct nvo_fragment falcon_eeprom_fragments[] = {
-       { 0, 0x100 },
+       { 0x100, 0x100 },
        { 0, 0 }
 };
 
        { 0, 0 }
 };