From 0f785af644b250fbf2aae77e3c7c509f80dad7b3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 1 Apr 2015 14:58:29 +0200 Subject: ether8169: add 8168GU mac id (thanks qeed) --- sys/src/9/pc/ether8169.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3