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