. clarify panic messages in syslib about pci
. use ds_retrieve_u32 instead of _pm_findproc
This commit is contained in:
@@ -20,11 +20,11 @@ u8_t busnr;
|
||||
|
||||
r= sendrec(pci_procnr, &m);
|
||||
if (r != 0)
|
||||
panic("pci", "pci_rescan_bus: can't talk to PCI", r);
|
||||
panic("syslib/" __FILE__, "pci_rescan_bus: can't talk to PCI", r);
|
||||
|
||||
if (m.m_type != 0)
|
||||
{
|
||||
panic("pci", "pci_rescan_bus: got bad reply from PCI",
|
||||
panic("syslib/" __FILE__, "pci_rescan_bus: got bad reply from PCI",
|
||||
m.m_type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user