}
/* Look for matching PCI device. */
- for(pci_dev = pci_find_device(pci_id->vendor, pci_id->device,
+ for(pci_dev = pci_get_device(pci_id->vendor, pci_id->device,
NULL); pci_dev != NULL;
- pci_dev = pci_find_device(pci_id->vendor,
+ pci_dev = pci_get_device(pci_id->vendor,
pci_id->device, pci_dev)) {
/* If bus/slot specified, check them. */
if (bus || slot) {
*/
printk("\n");
- for(pcidev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, NULL); pcidev != NULL ;
- pcidev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pcidev))
+ for(pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL); pcidev != NULL ;
+ pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pcidev))
{
// is it not a computer boards card?
if(pcidev->vendor != PCI_VENDOR_ID_CB)
else
err++;
if(thisboard->ao_nchan)
+ {
if(request_region(ao_registers, AO_SIZE, "cb_pcidas"))
devpriv->ao_registers = ao_registers;
else
err++;
+ }
if(err)
{
printk(" I/O port conflict\n");