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