diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 1999-10-17 06:48:47 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 1999-10-17 06:48:47 +0000 |
| commit | 9091387f87ca3a0af21b63fa6723721e3ee7c8f2 (patch) | |
| tree | 587931ea3d94776fb3976d8c85434782e10a78c5 /sys/dev | |
| parent | af51b059b591ffe6af89d8114a5de9547291865f (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pci.c | 2 |
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, |
