summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-08-29 09:03:58 +0000
committerbde <bde@FreeBSD.org>1999-08-29 09:03:58 +0000
commitb40f30707d14d710c90e70efe406d062ea6b9f7d (patch)
treebb52e5f0c44c92782a9e2e03a9aa3e425a376f9d /sys/pci/if_ste.c
parenta932c8483a31262b22f6f0ccc03e264207884b41 (diff)
downloadFreeBSD-src-b40f30707d14d710c90e70efe406d062ea6b9f7d.zip
FreeBSD-src-b40f30707d14d710c90e70efe406d062ea6b9f7d.tar.gz
Don't restrict our requests for contiguous memory to addresses >= 1MB.
This fixes, at least, panics in ncr_attach() on i386's with about 5MB of memory. The restriction was a hack to leave some low memory for ISA DMA, but on i386's we now allocate pages from the top down, so all the restriction did was cause our allocations to fail when there is no free memory above 1MB.
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r--sys/pci/if_ste.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index d808578..d3fb8b3 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -1057,7 +1057,7 @@ static int ste_attach(dev)
/* Allocate the descriptor queues. */
sc->ste_ldata = contigmalloc(sizeof(struct ste_list_data), M_DEVBUF,
- M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0);
+ M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0);
if (sc->ste_ldata == NULL) {
free(sc, M_DEVBUF);
OpenPOWER on IntegriCloud