diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-09-25 17:29:02 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-09-25 17:29:02 +0000 |
commit | a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (patch) | |
tree | dc2ea2b7bb3d1b975f75b1797e76f468c5369471 /sys/pci/if_tl.c | |
parent | 86c08984c234813310e7ed79ac8d2df0a9b4521e (diff) | |
download | FreeBSD-src-a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77.zip FreeBSD-src-a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77.tar.gz |
Change contigmalloc() lower memory bound from 1MB to 0 to improve
chances of allocations succeeding on systems with small amounts of
RAM.
Pointed out by: bde
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r-- | sys/pci/if_tl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index 9c5ca1e..d7a776c 100644 --- a/sys/pci/if_tl.c +++ b/sys/pci/if_tl.c @@ -1223,7 +1223,7 @@ static int tl_attach(dev) * Now allocate memory for the TX and RX lists. */ sc->tl_ldata = contigmalloc(sizeof(struct tl_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->tl_ldata == NULL) { bus_teardown_intr(dev, sc->tl_irq, sc->tl_intrhand); |