aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-10-08 23:05:57 +0200
committerHelge Deller <deller@gmx.de>2023-10-08 23:05:57 +0200
commitb3cc688050f69a4247c055b0056d1f11bcb8d8ce (patch)
tree4e93c2ab7ef4c99b57aad314e71ad3ce68a361c6
parent9a4a45ad85c0a56f3228a0ff4e2f0667f1d5796c (diff)
downloadseabios-hppa-b3cc688050f69a4247c055b0056d1f11bcb8d8ce.zip
seabios-hppa-b3cc688050f69a4247c055b0056d1f11bcb8d8ce.tar.gz
seabios-hppa-b3cc688050f69a4247c055b0056d1f11bcb8d8ce.tar.bz2
default all PCI devices as FIO
-rw-r--r--src/parisc/parisc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 794d9d5..bf84030 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -493,6 +493,7 @@ void make_module_path_from_pcidev(struct pci_device *pci,
case PCI_CLASS_NETWORK_ETHERNET:
case PCI_CLASS_STORAGE_SCSI:
case PCI_CLASS_SERIAL_USB:
+ default:
#if 0
static struct pdc_module_path mod_path_hpa_fed3c000 = { // SCSI
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xa }, .mod = 0x6 },
@@ -503,8 +504,6 @@ static struct pdc_module_path mod_path_hpa_fed3c000 = { // SCSI
p->path.bc[5] = pci->bdf >> 3; /* slot */
p->path.mod = pci->bdf & 0x07; /* function */
break;
- default:
- BUG_ON(1);
}
}
@@ -527,11 +526,9 @@ void make_iodc_from_pcidev(struct pci_device *pci,
case PCI_CLASS_COMMUNICATION_SERIAL:
case PCI_CLASS_NETWORK_ETHERNET:
case PCI_CLASS_SERIAL_USB:
+ default:
p->type = 0x008a;
break;
- default:
- BUG_ON(1);
- return;
}
};