Lines Matching defs:dev
99 * @dev: the generic device
106 static int generic_init_one(struct pci_dev *dev, const struct pci_device_id *id)
115 switch (dev->vendor) {
117 if (dev->device == PCI_DEVICE_ID_UMC_UM8886A &&
118 !(PCI_FUNC(dev->devfn) & 1))
122 if (dev->device == PCI_DEVICE_ID_OPTI_82C558 &&
123 !(PCI_FUNC(dev->devfn) & 1))
127 if (dev->device != PCI_DEVICE_ID_JMICRON_JMB368 &&
128 PCI_FUNC(dev->devfn) != 1)
132 if (dev->device == PCI_DEVICE_ID_NS_87410 &&
133 (dev->class >> 8) != PCI_CLASS_STORAGE_IDE)
138 if (dev->vendor != PCI_VENDOR_ID_JMICRON) {
140 pci_read_config_word(dev, PCI_COMMAND, &command);
143 "controller\n", d->name, pci_name(dev));
147 ret = ide_pci_init_one(dev, d, NULL);