From 417bdbb869597e171fd27384875c8fa6306e2311 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 19 Dec 2017 00:03:54 +0100 Subject: ether8169: add Macv45 for RTL8111HN, rename Macv45 -> Macv42 (thanks qeed, sam-d) --- sys/src/9/pc/ether8169.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/src/9/pc/ether8169.c b/sys/src/9/pc/ether8169.c index 38049d36a..02f39c5f3 100644 --- a/sys/src/9/pc/ether8169.c +++ b/sys/src/9/pc/ether8169.c @@ -122,8 +122,9 @@ enum { /* Tcr */ Macv30 = 0x24000000, /* RTL8101E? (untested) */ Macv39 = 0x44800000, /* RTL8106E */ Macv40 = 0x4c000000, /* RTL8168G */ + Macv42 = 0x50800000, /* RTL8168GU */ Macv44 = 0x5c800000, /* RTL8411B */ - Macv45 = 0x50800000, /* RTL8168GU */ + Macv45 = 0x54000000, /* RTL8111HN */ Ifg0 = 0x01000000, /* Interframe Gap 0 */ Ifg1 = 0x02000000, /* Interframe Gap 1 */ @@ -1054,6 +1055,7 @@ vetmacv(Ctlr *ctlr, uint *macv) case Macv30: case Macv39: case Macv40: + case Macv42: case Macv44: case Macv45: break; -- cgit v1.2.3