7 #include <minix/sysutil.h>
9 /*===========================================================================*
11 *===========================================================================*/
12 PUBLIC
int pci_next_dev(devindp
, vidp
, didp
)
20 m
.m_type
= BUSC_PCI_NEXT_DEV
;
23 r
= sendrec(pci_procnr
, &m
);
25 panic("pci", "pci_next_dev: can't talk to PCI", r
);
33 printf("pci_next_dev: got device %d, %04x/%04x\n",
34 *devindp
, *vidp
, *didp
);
39 panic("pci", "pci_next_dev: got bad reply from PCI", m
.m_type
);