]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/ether8169.c
kernel: cleanup makefile for $CONF.$O target
[plan9front.git] / sys / src / 9 / pc / ether8169.c
index 28172887d0b14563dcf7b9c8ece37809c472ca2d..bf6cf8ef48f5f90a37fa33f150a810653c6658b3 100644 (file)
@@ -16,8 +16,7 @@
 #include "../port/error.h"
 #include "../port/netif.h"
 #include "../port/etherif.h"
-
-#include "ethermii.h"
+#include "../port/ethermii.h"
 
 enum {                                 /* registers */
        Idr0            = 0x00,         /* MAC address */
@@ -726,6 +725,7 @@ rtl8169init(Ether* edev)
        csr32w(ctlr, Tcr, Ifg1|Ifg0|Mtxdmaunlimited);
        ctlr->tcr = csr32r(ctlr, Tcr);
        switch(ctlr->macv){
+       case Macv42:
        case Macv45:
                ctlr->rcr = Rxfth256|Mrxdmaunlimited|Ab|Am|Apm;
                break;