Coerced into compiling

This commit is contained in:
Michael Brown
2005-04-22 16:09:54 +00:00
parent ee88aacdb6
commit 49fe02e501
3 changed files with 9 additions and 11 deletions

View File

@@ -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]);