]> git.lizzy.rs Git - plan9front.git/commitdiff
ether8169: support rtl8402 variant
authorSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Sun, 29 Aug 2021 23:12:33 +0000 (23:12 +0000)
committerSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Sun, 29 Aug 2021 23:12:33 +0000 (23:12 +0000)
sys/src/9/pc/ether8169.c

index ae5ff0832cb73486a35cbb533f4bc55480de8f70..119fbce66cf005e688a601d06b269d7248a1621a 100644 (file)
@@ -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: