Correct a stupid type which prevented us from working with any device

which needed port resources.
This commit is contained in:
Doug Rabson 1999-10-17 06:48:47 +00:00
parent af51b059b5
commit 9091387f87
2 changed files with 2 additions and 2 deletions

View File

@ -1032,7 +1032,7 @@ pci_add_resources(device_t dev, pcicfgregs* cfg)
#endif
if (type == SYS_RES_IOPORT && !pci_porten(cfg))
continue;
if (type == SYS_RES_IOPORT && !pci_memen(cfg))
if (type == SYS_RES_MEMORY && !pci_memen(cfg))
continue;
resource_list_add(rl, type, reg,

View File

@ -1032,7 +1032,7 @@ pci_add_resources(device_t dev, pcicfgregs* cfg)
#endif
if (type == SYS_RES_IOPORT && !pci_porten(cfg))
continue;
if (type == SYS_RES_IOPORT && !pci_memen(cfg))
if (type == SYS_RES_MEMORY && !pci_memen(cfg))
continue;
resource_list_add(rl, type, reg,