Add splimp protection to wb_tick().
This commit is contained in:
parent
ca11eaac63
commit
a8ba3c35cb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user