diff options
author | imp <imp@FreeBSD.org> | 2002-04-13 05:52:35 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-04-13 05:52:35 +0000 |
commit | a032457ac723bde64d1e857196ac7b14cc373c64 (patch) | |
tree | 7ba55a89aaf211e82508cc3ed506ea76cda8553e /sys/dev/pci/pci_pci.c | |
parent | b2dbe33cce9c249fdf2d0f3343572235a968eb60 (diff) | |
download | FreeBSD-src-a032457ac723bde64d1e857196ac7b14cc373c64.zip FreeBSD-src-a032457ac723bde64d1e857196ac7b14cc373c64.tar.gz |
Fix an edge case wrt membase, but more changes needed
Diffstat (limited to 'sys/dev/pci/pci_pci.c')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index e71acee..9948ecb 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -345,7 +345,7 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, case SYS_RES_MEMORY: if (!pcib_is_isa_mem(start)) { #ifndef PCI_ALLOW_UNSUPPORTED_IO_RANGE - if (start < sc->membase && end > sc->membase) + if (start < sc->membase && end >= sc->membase) start = sc->membase; if (end > sc->memlimit) end = sc->memlimit; |