. clarify panic messages in syslib about pci
. use ds_retrieve_u32 instead of _pm_findproc
This commit is contained in:
@@ -20,7 +20,7 @@ u16_t *didp;
|
||||
m.m_type= BUSC_PCI_FIRST_DEV;
|
||||
r= sendrec(pci_procnr, &m);
|
||||
if (r != 0)
|
||||
panic("pci", "pci_first_dev: can't talk to PCI", r);
|
||||
panic("syslib/" __FILE__, "pci_first_dev: can't talk to PCI", r);
|
||||
if (m.m_type == 1)
|
||||
{
|
||||
*devindp= m.m1_i1;
|
||||
@@ -33,7 +33,7 @@ u16_t *didp;
|
||||
return 1;
|
||||
}
|
||||
if (m.m_type != 0)
|
||||
panic("pci", "pci_first_dev: got bad reply from PCI", m.m_type);
|
||||
panic("syslib/" __FILE__, "pci_first_dev: got bad reply from PCI", m.m_type);
|
||||
|
||||
#if DEBUG
|
||||
printf("pci_first_dev: got nothing\n");
|
||||
|
||||
Reference in New Issue
Block a user