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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52327
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,