diff options
| author | Warner Losh <imp@FreeBSD.org> | 2004-01-17 21:54:04 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2004-01-17 21:54:04 +0000 |
| commit | 70be3980706df980c696bf0fe0f82c44bd0183fd (patch) | |
| tree | 2455bb16b398e65b8ca51d279f665278bb6a7bf2 /sys/dev/pci | |
| parent | 95f94a7ff733a1850193c83795938a7a16606549 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pci')
| -rw-r--r-- | sys/dev/pci/pci_pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index eeba0006c7458..293c372464b1f 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -321,11 +321,12 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, } } else { ok = 1; +#if 0 if (start < sc->iobase && end > sc->iolimit) { start = sc->iobase; end = sc->iolimit; } - +#endif } if (end < start) { device_printf(dev, "ioport: end (%lx) < start (%lx)\n", end, start); @@ -376,6 +377,7 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, } } else if (!ok) { ok = 1; /* subtractive bridge: always ok */ +#if 0 if (pcib_is_nonprefetch_open(sc)) { if (start < sc->membase && end > sc->memlimit) { start = sc->membase; @@ -388,6 +390,7 @@ pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, end = sc->pmemlimit; } } +#endif } if (end < start) { device_printf(dev, "memory: end (%lx) < start (%lx)\n", end, start); |
