Lines Matching refs:dev
29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/cmx/cmx_pccard.c 298955 2016-05-03 03:41:25Z pfg $");
46 #include <dev/cmx/cmxvar.h>
48 #include <dev/pccard/pccardvar.h>
49 #include <dev/pccard/pccard_cis.h>
62 cmx_pccard_probe(device_t dev)
65 if ((pp = pccard_product_lookup(dev, cmx_pccard_products,
68 device_set_desc(dev, pp->pp_name);
79 cmx_pccard_attach(device_t dev)
82 cmx_init_softc(dev);
84 if ((rv = cmx_alloc_resources(dev)) != 0) {
85 device_printf(dev, "cmx_alloc_resources() failed!\n");
86 cmx_release_resources(dev);
90 if ((rv = cmx_attach(dev)) != 0) {
91 device_printf(dev, "cmx_attach() failed!\n");
92 cmx_release_resources(dev);
96 device_printf(dev, "attached\n");