Lines Matching refs:dev
28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ata/chipsets/ata-netcell.c 280393 2015-03-23 19:47:52Z mav $");
47 #include <dev/pci/pcivar.h>
48 #include <dev/pci/pcireg.h>
49 #include <dev/ata/ata-all.h>
50 #include <dev/ata/ata-pci.h>
54 static int ata_netcell_chipinit(device_t dev);
55 static int ata_netcell_ch_attach(device_t dev);
56 static int ata_netcell_setmode(device_t dev, int target, int mode);
62 ata_netcell_probe(device_t dev)
64 struct ata_pci_controller *ctlr = device_get_softc(dev);
66 if (pci_get_devid(dev) == ATA_NETCELL_SR) {
67 device_set_desc(dev, "Netcell SyncRAID SR3000/5000 RAID Controller");
75 ata_netcell_chipinit(device_t dev)
77 struct ata_pci_controller *ctlr = device_get_softc(dev);
79 if (ata_setup_interrupt(dev, ata_generic_intr))
88 ata_netcell_ch_attach(device_t dev)
90 struct ata_channel *ch = device_get_softc(dev);
93 if (ata_pci_ch_attach(dev))
104 ata_netcell_setmode(device_t dev, int target, int mode)