Add splimp protection to wb_tick().

This commit is contained in:
Bill Paul 1999-08-31 05:30:13 +00:00
parent ca11eaac63
commit a8ba3c35cb

View File

@ -1429,6 +1429,9 @@ static void wb_tick(xsc)
{
struct wb_softc *sc;
struct mii_data *mii;
int s;
s = splimp();
sc = xsc;
mii = device_get_softc(sc->wb_miibus);
@ -1437,6 +1440,8 @@ static void wb_tick(xsc)
sc->wb_stat_ch = timeout(wb_tick, sc, hz);
splx(s);
return;
}