summaryrefslogtreecommitdiff
path: root/sys/src/9
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-12-19 00:03:54 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-12-19 00:03:54 +0100
commit417bdbb869597e171fd27384875c8fa6306e2311 (patch)
tree84c6c16d90e2d5a80e0a1c5dfedf123b1cca4cdb /sys/src/9
parent3e22f7ef1d56efcc81e7ce0e74bc1992ef0976a8 (diff)
ether8169: add Macv45 for RTL8111HN, rename Macv45 -> Macv42 (thanks qeed, sam-d)
Diffstat (limited to 'sys/src/9')
-rw-r--r--sys/src/9/pc/ether8169.c4
1 files changed, 3 insertions, 1 deletions
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;