diff -Nru oss-link/drivers/net/tulip/tulip_core.c.orig oss-link/drivers/net/tulip/tulip_core.c --- oss-link/drivers/net/tulip/tulip_core.c.orig Wed Oct 31 15:38:51 2001 +++ oss-link/drivers/net/tulip/tulip_core.c Wed Oct 31 17:29:42 2001 @@ -1574,6 +1574,22 @@ sa_offset = 2; /* Grrr, damn Matrox boards. */ multiport_cnt = 4; } +#ifdef CONFIG_DDB5476 + if ((pdev->bus->number == 0) && (PCI_SLOT(pdev->devfn) == 6)) { + /* DDB5476 MAC address in first EEPROM locations. */ + sa_offset = 0; + /* No media table either */ + tp->flags &= ~HAS_MEDIA_TABLE; + } +#endif +#ifdef CONFIG_DDB5477 + if ((pdev->bus->number == 0) && (PCI_SLOT(pdev->devfn) == 4)) { + /* DDB5477 MAC address in first EEPROM locations. */ + sa_offset = 0; + /* No media table either */ + tp->flags &= ~HAS_MEDIA_TABLE; + } +#endif for (i = 0; i < 6; i ++) { dev->dev_addr[i] = ee_data[i + sa_offset]; sum += ee_data[i + sa_offset];