diff --git a/src/network/net_ne2000.c b/src/network/net_ne2000.c index 180aa174f..c4f0ccf8b 100644 --- a/src/network/net_ne2000.c +++ b/src/network/net_ne2000.c @@ -1265,13 +1265,6 @@ nic_init(const device_t *info) dev->dp8390->priv = dev; dev->dp8390->interrupt = nic_interrupt; - memcpy(dev->dp8390->physaddr, dev->maclocal, sizeof(dev->maclocal)); - - nelog(2, "%s: I/O=%04x, IRQ=%d, MAC=%02x:%02x:%02x:%02x:%02x:%02x\n", - dev->name, dev->base_address, dev->base_irq, - dev->dp8390->physaddr[0], dev->dp8390->physaddr[1], dev->dp8390->physaddr[2], - dev->dp8390->physaddr[3], dev->dp8390->physaddr[4], dev->dp8390->physaddr[5]); - switch(dev->board) { case NE2K_NE1000: dev->maclocal[0] = 0x00; /* 00:00:D8 (Novell OID) */ @@ -1321,6 +1314,13 @@ nic_init(const device_t *info) break; } + memcpy(dev->dp8390->physaddr, dev->maclocal, sizeof(dev->maclocal)); + + nelog(2, "%s: I/O=%04x, IRQ=%d, MAC=%02x:%02x:%02x:%02x:%02x:%02x\n", + dev->name, dev->base_address, dev->base_irq, + dev->dp8390->physaddr[0], dev->dp8390->physaddr[1], dev->dp8390->physaddr[2], + dev->dp8390->physaddr[3], dev->dp8390->physaddr[4], dev->dp8390->physaddr[5]); + /* * Make this device known to the I/O system. * PnP and PCI devices start with address spaces inactive.