don't print SYSTEM stacktrace on exceptions as it's not scheduled any more.
[minix.git] / lib / libsys / pci_rescan_bus.c
bloba60a238d2137f8feadfa53a10a59946c0a7d1d6d
1 /*
2 pci_rescan_bus.c
3 */
5 #include "pci.h"
6 #include "syslib.h"
7 #include <minix/sysutil.h>
9 /*===========================================================================*
10 * pci_rescan_bus *
11 *===========================================================================*/
12 PUBLIC void pci_rescan_bus(busnr)
13 u8_t busnr;
15 int r;
16 message m;
18 m.m_type= BUSC_PCI_RESCAN;
19 m.m1_i1= busnr;
21 r= sendrec(pci_procnr, &m);
22 if (r != 0)
23 panic("pci_rescan_bus: can't talk to PCI: %d", r);
25 if (m.m_type != 0)
27 panic("pci_rescan_bus: got bad reply from PCI: %d", m.m_type);