Undo one hack for QEMU, add another.

This commit is contained in:
Philip Homburg 2005-08-05 19:08:02 +00:00
parent 941b5ebd1c
commit 490430f627

View file

@ -516,10 +516,12 @@ printf("probe_bus(%d)\n", busind);
sts= pci_attr_rsts(devind); sts= pci_attr_rsts(devind);
if (sts & (PSR_SSE|PSR_RMAS|PSR_RTAS)) if (sts & (PSR_SSE|PSR_RMAS|PSR_RTAS))
{ {
#if 0
printf( printf(
"pci: ignoring bad value 0x%x in sts for QEMU\n", "pci: ignoring bad value 0x%x in sts for QEMU\n",
sts & (PSR_SSE|PSR_RMAS|PSR_RTAS)); sts & (PSR_SSE|PSR_RMAS|PSR_RTAS));
/* break; */ #endif
break;
} }
if (vid == NO_VID) if (vid == NO_VID)
{ {
@ -800,7 +802,8 @@ int devind;
{ {
printf("IRQ %d is not level triggered\n", printf("IRQ %d is not level triggered\n",
irq); irq);
panic(NULL,NULL, NO_NUM); printf("(ignored for QEMU)\n");
/* panic(NULL,NULL, NO_NUM); */
} }
irq_mode_pci(irq); irq_mode_pci(irq);
} }