diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-01 14:58:29 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-01 14:58:29 +0200 |
| commit | 0f785af644b250fbf2aae77e3c7c509f80dad7b3 (patch) | |
| tree | f8b000e0b18239fb6f54850339a50b0354b290f2 | |
| parent | 86bfd0331d842c7210a3a4758b71231b18193b5b (diff) | |
| download | plan9front-0f785af644b250fbf2aae77e3c7c509f80dad7b3.tar.xz | |
ether8169: add 8168GU mac id (thanks qeed)
| -rw-r--r-- | sys/src/9/pc/ether8169.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/9/pc/ether8169.c b/sys/src/9/pc/ether8169.c index bd26fcb45..e7f0f1b8a 100644 --- a/sys/src/9/pc/ether8169.c +++ b/sys/src/9/pc/ether8169.c @@ -122,6 +122,8 @@ enum { /* Tcr */ Macv30 = 0x24000000, /* RTL8101E? (untested) */ Macv40 = 0x4c000000, /* RTL8168G */ Macv44 = 0x5c800000, /* RTL8411B */ + Macv45 = 0x50800000, /* RTL8168GU */ + Ifg0 = 0x01000000, /* Interframe Gap 0 */ Ifg1 = 0x02000000, /* Interframe Gap 1 */ }; @@ -704,6 +706,7 @@ rtl8169init(Ether* edev) switch(ctlr->macv){ case Macv40: case Macv44: + case Macv45: cplusc |= Macstatdis; break; default: |
