summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 18:09:54 +0200
committerMichael Brown2005-04-22 18:09:54 +0200
commit49fe02e501cc210e230d207e91bdf6bbd8106421 (patch)
treeffc6e1c19f07ed30e983501f77e7d4a0a6ee3bdc /src/drivers/net/eepro.c
parentCoerced into compiling. (diff)
downloadipxe-49fe02e501cc210e230d207e91bdf6bbd8106421.tar.gz
ipxe-49fe02e501cc210e230d207e91bdf6bbd8106421.tar.xz
ipxe-49fe02e501cc210e230d207e91bdf6bbd8106421.zip
Coerced into compiling
Diffstat (limited to 'src/drivers/net/eepro.c')
-rw-r--r--src/drivers/net/eepro.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/net/eepro.c b/src/drivers/net/eepro.c
index ec2c45b4..6b6a7115 100644
--- a/src/drivers/net/eepro.c
+++ b/src/drivers/net/eepro.c
@@ -567,16 +567,16 @@ static int eepro_probe ( struct nic *nic, struct isa_device *isa ) {
station_addr.saddr[1] = read_eeprom(nic->ioaddr,3);
station_addr.saddr[0] = read_eeprom(nic->ioaddr,4);
if (l_eepro)
- dev->name = "Intel EtherExpress 10 ISA";
+ isa->name = "Intel EtherExpress 10 ISA";
else if (read_eeprom(nic->ioaddr,7) == ee_FX_INT2IRQ) {
- dev->name = "Intel EtherExpress Pro/10+ ISA";
+ isa->name = "Intel EtherExpress Pro/10+ ISA";
l_eepro = 2;
} else if (station_addr.saddr[0] == SA_ADDR1) {
- dev->name = "Intel EtherExpress Pro/10 ISA";
+ isa->name = "Intel EtherExpress Pro/10 ISA";
l_eepro = 1;
} else {
l_eepro = 0;
- dev->name = "Intel 82595-based LAN card";
+ isa->name = "Intel 82595-based LAN card";
}
station_addr.saddr[0] = swap16(station_addr.saddr[0]);
station_addr.saddr[1] = swap16(station_addr.saddr[1]);