etherigbe: fixup PciCLS if not initialized (qemu)

This commit is contained in:
cinap_lenrek 2012-03-18 01:27:30 +01:00
parent bc3457726a
commit 7106166b11

View file

@ -1958,8 +1958,9 @@ igbepci(void)
break; break;
case 0x00: case 0x00:
case 0xFF: case 0xFF:
print("igbe: unusable CLS - %d\n", cls*4); cls = 0x08;
continue; pcicfgw8(p, PciCLS, cls);
break;
case 0x08: case 0x08:
case 0x10: case 0x10:
break; break;