Changeset View
Changeset View
Standalone View
Standalone View
stable/11/sys/dev/ie/if_ie.c
Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Lines | ie_attach(device_t dev) | ||||
error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET | INTR_MPSAFE, | error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET | INTR_MPSAFE, | ||||
NULL, ie_intr, sc, &sc->irq_ih); | NULL, ie_intr, sc, &sc->irq_ih); | ||||
if (error) { | if (error) { | ||||
device_printf(dev, "Unable to register interrupt handler\n"); | device_printf(dev, "Unable to register interrupt handler\n"); | ||||
mtx_destroy(&sc->lock); | mtx_destroy(&sc->lock); | ||||
return (error); | return (error); | ||||
} | } | ||||
device_printf(dev, | |||||
"WARNING: This driver is deprecated and will be removed.\n"); | |||||
return (0); | return (0); | ||||
} | } | ||||
static __inline void | static __inline void | ||||
ie_ack(struct ie_softc *sc, u_int mask) | ie_ack(struct ie_softc *sc, u_int mask) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 1,363 Lines • Show Last 20 Lines |