diff options
| author | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-03-18 01:27:30 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-03-18 01:27:30 +0100 |
| commit | 7106166b11abc6f38309cf864e3e4de7cfa685c3 (patch) | |
| tree | 50d7836f315e3e492cb894b41dcce3d76392dc64 | |
| parent | bc3457726a551cc92b17ad4006620cd8b8dc102e (diff) | |
| download | plan9front-7106166b11abc6f38309cf864e3e4de7cfa685c3.tar.xz | |
etherigbe: fixup PciCLS if not initialized (qemu)
| -rw-r--r-- | sys/src/9/pc/etherigbe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/9/pc/etherigbe.c b/sys/src/9/pc/etherigbe.c index 837c93c05..b5edff8f6 100644 --- a/sys/src/9/pc/etherigbe.c +++ b/sys/src/9/pc/etherigbe.c @@ -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; |
