summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-26 14:19:39 +0200
committerMichael Brown2005-04-26 14:19:39 +0200
commit7e534b585fca690c57dcd4de6c5b63f61a6f7b3f (patch)
tree55856d1e4f4de4a0b9ecb0c894cd6f0f6604057f /src/drivers/net/eepro.c
parentBIOS floppy handling code moved to where it will really live. (diff)
downloadipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.tar.gz
ipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.tar.xz
ipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.zip
Automatically updated with
perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
Diffstat (limited to 'src/drivers/net/eepro.c')
-rw-r--r--src/drivers/net/eepro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/net/eepro.c b/src/drivers/net/eepro.c
index 6b6a7115..6c2318bd 100644
--- a/src/drivers/net/eepro.c
+++ b/src/drivers/net/eepro.c
@@ -584,7 +584,7 @@ static int eepro_probe ( struct nic *nic, struct isa_device *isa ) {
for (i = 0; i < ETH_ALEN; i++) {
nic->node_addr[i] = station_addr.caddr[i];
}
- DBG("%s ioaddr %#hX, addr %!", dev->name, nic->ioaddr, nic->node_addr);
+ DBG("%s ioaddr %#hX, addr %!", isa->name, nic->ioaddr, nic->node_addr);
mem_start = RCV_LOWER_LIMIT << 8;
if ((mem_end & 0x3F) < 3 || (mem_end & 0x3F) > 29)
mem_end = RCV_UPPER_LIMIT << 8;
@@ -606,8 +606,7 @@ static isa_probe_addr_t eepro_probe_addrs[] = {
0x300, 0x210, 0x240, 0x280, 0x2C0, 0x200, 0x320, 0x340, 0x360,
};
-static struct isa_driver eepro_driver =
- ISA_DRIVER ( eepro_probe_addrs, eepro_probe1,
+ISA_DRIVER ( eepro_driver, eepro_probe_addrs, eepro_probe1,
GENERIC_ISAPNP_VENDOR, 0x828a );
DRIVER ( "eepro", nic_driver, isa_driver, eepro_driver,