Lines Matching refs:dev
43 __FBSDID("$FreeBSD: releng/12.0/sys/dev/an/if_an_pccard.c 325966 2017-11-18 14:26:50Z pfg $");
71 #include <dev/an/if_aironet_ieee.h>
72 #include <dev/an/if_anreg.h>
74 #include <dev/pccard/pccardvar.h>
116 an_pccard_probe(device_t dev)
120 if ((pp = pccard_product_lookup(dev, an_pccard_products,
123 device_set_desc(dev, pp->pp_name);
130 an_pccard_attach(device_t dev)
132 struct an_softc *sc = device_get_softc(dev);
133 int flags = device_get_flags(dev);
136 error = an_probe(dev); /* 0 is failure for now */
141 error = an_alloc_irq(dev, 0, 0);
145 an_alloc_irq(dev, sc->irq_rid, 0);
154 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET,
158 an_release_resources(dev);