aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-10-08 22:37:53 +0200
committerHelge Deller <deller@gmx.de>2023-10-08 22:37:53 +0200
commit9a4a45ad85c0a56f3228a0ff4e2f0667f1d5796c (patch)
treef95658f58f707db560fb87a32920bd522b824870
parent4a99f87574f7814a5aa6a7fa3144e6f2cb407289 (diff)
downloadseabios-hppa-9a4a45ad85c0a56f3228a0ff4e2f0667f1d5796c.zip
seabios-hppa-9a4a45ad85c0a56f3228a0ff4e2f0667f1d5796c.tar.gz
seabios-hppa-9a4a45ad85c0a56f3228a0ff4e2f0667f1d5796c.tar.bz2
allow USB (ohci)
-rw-r--r--src/parisc/parisc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 630d265..794d9d5 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -489,9 +489,10 @@ void make_module_path_from_pcidev(struct pci_device *pci,
memset(&p->path.bc, 0xff, sizeof(p->path.bc));
switch (pci->class) {
- case PCI_CLASS_STORAGE_SCSI:
case PCI_CLASS_COMMUNICATION_SERIAL:
case PCI_CLASS_NETWORK_ETHERNET:
+ case PCI_CLASS_STORAGE_SCSI:
+ case PCI_CLASS_SERIAL_USB:
#if 0
static struct pdc_module_path mod_path_hpa_fed3c000 = { // SCSI
.path = { .flags = 0x0, .bc = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xa }, .mod = 0x6 },
@@ -524,9 +525,8 @@ void make_iodc_from_pcidev(struct pci_device *pci,
p->type = 0x0084;
break;
case PCI_CLASS_COMMUNICATION_SERIAL:
- p->type = 0x008a;
- break;
case PCI_CLASS_NETWORK_ETHERNET:
+ case PCI_CLASS_SERIAL_USB:
p->type = 0x008a;
break;
default: