. clarify panic messages in syslib about pci
. use ds_retrieve_u32 instead of _pm_findproc
This commit is contained in:
@@ -22,10 +22,10 @@ u16_t *didp;
|
||||
|
||||
r= sendrec(pci_procnr, &m);
|
||||
if (r != 0)
|
||||
panic("pci", "pci_ids: can't talk to PCI", r);
|
||||
panic("syslib/" __FILE__, "pci_ids: can't talk to PCI", r);
|
||||
|
||||
if (m.m_type != 0)
|
||||
panic("pci", "pci_ids: got bad reply from PCI", m.m_type);
|
||||
panic("syslib/" __FILE__, "pci_ids: got bad reply from PCI", m.m_type);
|
||||
*vidp= m.m1_i1;
|
||||
*didp= m.m1_i2;
|
||||
printf("pci_ids: %04x/%04x\n", *vidp, *didp);
|
||||
|
||||
Reference in New Issue
Block a user