mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 18:40:24 +03:00
Coerced into compiling
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user