diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index f9e9d3afccf..59d9a89fc6a 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -766,7 +766,7 @@ static int sf_attach(dev) /* Allocate the descriptor queues. */ sc->sf_ldata = contigmalloc(sizeof(struct sf_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->sf_ldata == NULL) { printf("sf%d: no memory for list buffers!\n", unit); diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index 18e7bdff147..59c354fd06c 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -756,7 +756,7 @@ static int vr_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->vr_ldata = contigmalloc(sizeof(struct vr_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->vr_ldata == NULL) { printf("vr%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_al.c b/sys/pci/if_al.c index 91046e0b48a..246a58e91ed 100644 --- a/sys/pci/if_al.c +++ b/sys/pci/if_al.c @@ -923,7 +923,7 @@ static int al_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->al_ldata = contigmalloc(sizeof(struct al_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->al_ldata == NULL) { printf("al%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c index 13a9e7f944f..96cd885d089 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); diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 41483c0d393..a2e789d2b3c 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -912,7 +912,7 @@ static int rl_attach(dev) } sc->rl_cdata.rl_rx_buf = contigmalloc(RL_RXBUFLEN + 32, M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->rl_cdata.rl_rx_buf == NULL) { printf("rl%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c index f9e9d3afccf..59d9a89fc6a 100644 --- a/sys/pci/if_sf.c +++ b/sys/pci/if_sf.c @@ -766,7 +766,7 @@ static int sf_attach(dev) /* Allocate the descriptor queues. */ sc->sf_ldata = contigmalloc(sizeof(struct sf_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->sf_ldata == NULL) { printf("sf%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index fbe57edc671..68550a799ab 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -655,7 +655,7 @@ static int sis_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->sis_ldata = contigmalloc(sizeof(struct sis_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->sis_ldata == NULL) { printf("sis%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index 9c5ca1ef251..d7a776cb3ad 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); diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index 18e7bdff147..59c354fd06c 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -756,7 +756,7 @@ static int vr_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->vr_ldata = contigmalloc(sizeof(struct vr_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->vr_ldata == NULL) { printf("vr%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 06043e07d86..e4efc84b9c9 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -928,7 +928,7 @@ static int wb_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->wb_ldata = contigmalloc(sizeof(struct wb_list_data) + 8, M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->wb_ldata == NULL) { printf("wb%d: no memory for list buffers!\n", unit); diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 855f7cf2697..8b1e06a5123 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1306,7 +1306,7 @@ static int xl_attach(dev) bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); sc->xl_ldata = contigmalloc(sizeof(struct xl_list_data), M_DEVBUF, - M_NOWAIT, 0x100000, 0xffffffff, PAGE_SIZE, 0); + M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); if (sc->xl_ldata == NULL) { printf("xl%d: no memory for list buffers!\n", unit);