Deleted Added
full compact
40c40
< __FBSDID("$FreeBSD: head/sys/dev/hme/if_hme_sbus.c 133599 2004-08-12 20:37:02Z marius $");
---
> __FBSDID("$FreeBSD: head/sys/dev/hme/if_hme_sbus.c 137982 2004-11-22 06:46:30Z yongari $");
154a155,156
> mtx_init(&sc->sc_lock, device_get_nameunit(dev), MTX_NETWORK_LOCK,
> MTX_DEF);
170c172,173
< return (ENXIO);
---
> error = ENXIO;
> goto fail_mtx_res;
268,269c271,272
< if ((error = bus_setup_intr(dev, hsc->hsc_ires, INTR_TYPE_NET, hme_intr,
< sc, &hsc->hsc_ih)) != 0) {
---
> if ((error = bus_setup_intr(dev, hsc->hsc_ires, INTR_TYPE_NET |
> INTR_MPSAFE, hme_intr, sc, &hsc->hsc_ih)) != 0) {
294a298,299
> fail_mtx_res:
> mtx_destroy(&sc->sc_lock);
304,305d308
< hme_detach(sc);
<
306a310
> hme_detach(sc);
318a323
> mtx_destroy(&sc->sc_lock);