aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-10-17 06:48:47 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-10-17 06:48:47 +0000
commit9091387f87ca3a0af21b63fa6723721e3ee7c8f2 (patch)
tree587931ea3d94776fb3976d8c85434782e10a78c5 /sys/dev
parentaf51b059b591ffe6af89d8114a5de9547291865f (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index f5da2d81c91c1..ca3de946da88b 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -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,