diff -Nru linux/drivers/net/tulip/tulip_core.c.orig linux/drivers/net/tulip/tulip_core.c --- linux/drivers/net/tulip/tulip_core.c.orig Thu Aug 23 20:38:41 2001 +++ linux/drivers/net/tulip/tulip_core.c Fri Oct 5 18:06:00 2001 @@ -1570,6 +1570,15 @@ sa_offset = 2; /* Grrr, damn Matrox boards. */ multiport_cnt = 4; } +#ifdef CONFIG_DDB5477 + if ((pdev->bus->number == 0) && (PCI_SLOT(pdev->devfn) == 4)) { + printk("JSUN: ddb5477 onboard ether workaround!\n"); + /* Rockhopper MAC address in first EEPROM locations. */ + sa_offset = 0; + /* No media table either for that matter. */ + 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];