Lines Matching refs:dev
30 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ed/if_ed_isa.c 298307 2016-04-19 23:37:24Z pfg $");
51 #include <dev/ed/if_edvar.h>
52 #include <dev/ed/if_edreg.h>
73 ed_isa_probe_Novell(device_t dev)
75 struct ed_softc *sc = device_get_softc(dev);
76 int flags = device_get_flags(dev);
79 err = ed_probe_Novell(dev, 0, flags);
97 ed_isa_probe(device_t dev)
99 struct ed_softc *sc = device_get_softc(dev);
100 int flags = device_get_flags(dev);
104 error = ISA_PNP_PROBE(device_get_parent(dev), dev, ed_ids);
116 error = ed_probe_WD80x3(dev, 0, flags);
119 ed_release_resources(dev);
121 error = ed_probe_RTL80x9(dev, 0, flags);
126 ed_release_resources(dev);
129 error = ed_probe_3Com(dev, 0, flags);
132 ed_release_resources(dev);
136 error = ed_probe_SIC(dev, 0, flags);
139 ed_release_resources(dev);
141 error = ed_isa_probe_Novell(dev);
144 ed_release_resources(dev);
147 error = ed_probe_HP_pclanp(dev, 0, flags);
150 ed_release_resources(dev);
154 error = ed_alloc_irq(dev, 0, 0);
156 ed_release_resources(dev);
161 ed_isa_attach(device_t dev)
163 struct ed_softc *sc = device_get_softc(dev);
167 ed_alloc_port(dev, 0, sc->port_used);
169 ed_alloc_memory(dev, 0, sc->mem_used);
170 ed_alloc_irq(dev, 0, 0);
174 error = ed_attach(dev);
176 ed_release_resources(dev);
179 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET | INTR_MPSAFE,
182 ed_release_resources(dev);