. clarify panic messages in syslib about pci

. use ds_retrieve_u32 instead of _pm_findproc
This commit is contained in:
Ben Gras
2007-07-11 13:38:13 +00:00
parent c829928cf1
commit ee3e40516b
17 changed files with 44 additions and 38 deletions

View File

@@ -22,7 +22,7 @@ u16_t *didp;
r= sendrec(pci_procnr, &m);
if (r != 0)
panic("pci", "pci_next_dev: can't talk to PCI", r);
panic("syslib/" __FILE__, "pci_next_dev: can't talk to PCI", r);
if (m.m_type == 1)
{
@@ -36,7 +36,7 @@ u16_t *didp;
return 1;
}
if (m.m_type != 0)
panic("pci", "pci_next_dev: got bad reply from PCI", m.m_type);
panic("syslib/" __FILE__, "pci_next_dev: got bad reply from PCI", m.m_type);
return 0;
}