Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/etherswitch/e6000sw/e6000sw.c
Show First 20 Lines • Show All 419 Lines • ▼ Show 20 Lines | e6000sw_attach(device_t dev) | ||||
bus_generic_attach(dev); | bus_generic_attach(dev); | ||||
kproc_create(e6000sw_tick, sc, &e6000sw_kproc, 0, 0, | kproc_create(e6000sw_tick, sc, &e6000sw_kproc, 0, 0, | ||||
"e6000sw tick kproc"); | "e6000sw tick kproc"); | ||||
return (0); | return (0); | ||||
out_fail: | out_fail: | ||||
E6000SW_UNLOCK(sc); | |||||
e6000sw_detach(dev); | e6000sw_detach(dev); | ||||
return (err); | return (err); | ||||
} | } | ||||
static __inline void | static __inline void | ||||
e6000sw_poll_done(e6000sw_softc_t *sc) | e6000sw_poll_done(e6000sw_softc_t *sc) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 743 Lines • Show Last 20 Lines |