7 #include <minix/sysutil.h>
9 /*===========================================================================*
11 *===========================================================================*/
12 PUBLIC
int pci_find_dev(bus
, dev
, func
, devindp
)
21 m
.m_type
= BUSC_PCI_FIND_DEV
;
26 r
= sendrec(pci_procnr
, &m
);
28 panic("pci", "pci_find_dev: can't talk to PCI", r
);
33 printf("pci_find_dev: got device %d for %d.%d.%d\n",
34 *devindp
, bus
, dev
, func
);
38 panic("pci", "pci_find_dev: got bad reply from PCI", m
.m_type
);
40 printf("pci_find_dev: got nothing\n");