ref: 49950af517f44340635c91a22181bdbc558e830a
parent: 81bec2e600d8b930d5c77cac83ed7ed3469dd596
author: cinap_lenrek <cinap_lenrek@felloff.net>
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:
--
⑨