7 #include <minix/sysutil.h>
9 /*===========================================================================*
11 *===========================================================================*/
12 void pci_reserve(devind
)
18 m
.m_type
= BUSC_PCI_RESERVE
;
21 r
= sendrec(pci_procnr
, &m
);
23 panic("pci_reserve: can't talk to PCI: %d", r
);
26 panic("pci_reserve: got bad reply from PCI: %d", m
.m_type
);
29 /*===========================================================================*
31 *===========================================================================*/
32 int pci_reserve_ok(int devind
)
38 return(_taskcall(pci_procnr
, BUSC_PCI_RESERVE
, &m
));