summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_dm.c')
-rw-r--r--sys/pci/if_dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c
index 13a9e7f..96cd885 100644
--- a/sys/pci/if_dm.c
+++ b/sys/pci/if_dm.c
@@ -847,7 +847,7 @@ static int dm_attach(dev)
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
sc->dm_ldata = contigmalloc(sizeof(struct dm_list_data), M_DEVBUF,
- M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0);
+ M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0);
if (sc->dm_ldata == NULL) {
printf("dm%d: no memory for list buffers!\n", unit);
OpenPOWER on IntegriCloud