ref: 0f785af644b250fbf2aae77e3c7c509f80dad7b3
parent: 86bfd0331d842c7210a3a4758b71231b18193b5b
author: cinap_lenrek <[email protected]>
date: Wed Apr 1 10:58:29 EDT 2015
ether8169: add 8168GU mac id (thanks qeed)
--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -122,6 +122,8 @@
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 @@
switch(ctlr->macv){
case Macv40:
case Macv44:
+ case Macv45:
cplusc |= Macstatdis;
break;
default: