Remove BUS_DMA_WAITOK from bus_dma_tag_create() invocations as it's
no valid flag there.
This commit is contained in:
parent
e6770fff6b
commit
0c7d35d0b9
@ -298,7 +298,7 @@ le_cbus_attach(device_t dev)
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
|
||||
0, /* nsegments */
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_pdmat);
|
||||
if (error != 0) {
|
||||
@ -320,7 +320,7 @@ le_cbus_attach(device_t dev)
|
||||
sc->sc_memsize, /* maxsize */
|
||||
1, /* nsegments */
|
||||
sc->sc_memsize, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_dmat);
|
||||
if (error != 0) {
|
||||
|
@ -351,7 +351,7 @@ le_isa_attach(device_t dev)
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
|
||||
0, /* nsegments */
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_pdmat);
|
||||
if (error != 0) {
|
||||
@ -373,7 +373,7 @@ le_isa_attach(device_t dev)
|
||||
sc->sc_memsize, /* maxsize */
|
||||
1, /* nsegments */
|
||||
sc->sc_memsize, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_dmat);
|
||||
if (error != 0) {
|
||||
|
@ -364,7 +364,7 @@ le_dma_attach(device_t dev)
|
||||
sc->sc_memsize, /* maxsize */
|
||||
1, /* nsegments */
|
||||
sc->sc_memsize, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_dmat);
|
||||
if (error != 0) {
|
||||
|
@ -350,7 +350,7 @@ le_pci_attach(device_t dev)
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
|
||||
0, /* nsegments */
|
||||
BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_pdmat);
|
||||
if (error != 0) {
|
||||
@ -373,7 +373,7 @@ le_pci_attach(device_t dev)
|
||||
sc->sc_memsize, /* maxsize */
|
||||
1, /* nsegments */
|
||||
sc->sc_memsize, /* maxsegsize */
|
||||
BUS_DMA_WAITOK, /* flags */
|
||||
0, /* flags */
|
||||
NULL, NULL, /* lockfunc, lockarg */
|
||||
&lesc->sc_dmat);
|
||||
if (error != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user