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