mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Do full controller initialization in axe_reset() for controllers
that require special configuration from EEPROM. This will put controllers into known sane state.
This commit is contained in:
parent
d743bdd2f6
commit
ff5fbbc49b
1 changed files with 6 additions and 0 deletions
|
|
@ -671,6 +671,12 @@ axe_reset(struct axe_softc *sc)
|
|||
|
||||
/* Wait a little while for the chip to get its brains in order. */
|
||||
uether_pause(&sc->sc_ue, hz / 100);
|
||||
|
||||
/* Reinitialize controller to achieve full reset. */
|
||||
if (sc->sc_flags & AXE_FLAG_178)
|
||||
axe_ax88178_init(sc);
|
||||
else if (sc->sc_flags & AXE_FLAG_772)
|
||||
axe_ax88772_init(sc);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue