summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>2021-08-29 23:12:33 +0000
committerSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>2021-08-29 23:12:33 +0000
commitec33d29cf6b8519ae857e5990c67df3e56147c31 (patch)
tree6b28113a1fc919d2ecc0da1b412e66b244a9ffb9
parente6f0abc25e4e237fff97ef9bdd1dc98ee519def8 (diff)
downloadplan9front-ec33d29cf6b8519ae857e5990c67df3e56147c31.tar.xz
ether8169: support rtl8402 variant
-rw-r--r--sys/src/9/pc/ether8169.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/pc/ether8169.c b/sys/src/9/pc/ether8169.c
index ae5ff0832..119fbce66 100644
--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -120,6 +120,7 @@ enum { /* Tcr */
Macv28 = 0x2c000000, /* RTL8111/8168B */
Macv29 = 0x40800000, /* RTL8101/8102E */
Macv30 = 0x24000000, /* RTL8101E? (untested) */
+ Macv38 = 0x44000000, /* RTL8402 */
Macv39 = 0x44800000, /* RTL8106E */
Macv40 = 0x4c000000, /* RTL8168G */
Macv42 = 0x50800000, /* RTL8168GU */
@@ -1089,6 +1090,7 @@ vetmacv(Ctlr *ctlr, uint *macv)
case Macv28:
case Macv29:
case Macv30:
+ case Macv38:
case Macv39:
case Macv40:
case Macv42: