tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

axen: axen_reset resets nothing



Hello,

My axen(4) won't link-up but I find that axen_reset()
in sys/dev/usb/if_axen.c does not do anything.
It should call chip init routine, I think.

This patch works, though axen_ax88179_init() does full chip reset.
Not tested on UPS_SUPER_SPEED.

Any suggestions?


--- if_axen.c.orig      2014-07-25 18:26:44.000000000 +0900
+++ src/sys/dev/usb/if_axen.c   2014-07-26 08:53:13.000000000 +0900
@@ -392,6 +392,7 @@ axen_reset(struct axen_softc *sc)
        if (sc->axen_dying)
                return;
        /* XXX What to reset? */
+       axen_ax88179_init(sc);
/* Wait a little while for the chip to get its brains in order. */
        DELAY(1000);

Thanks,
--
t-hash


Home | Main Index | Thread Index | Old Index