etherigbe: fixup PciCLS if not initialized (qemu)

front
cinap_lenrek 2012-03-18 01:27:30 +01:00
parent bc3457726a
commit 7106166b11
1 changed files with 3 additions and 2 deletions

View File

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