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