Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in the
'int nsegments' argument to bus_dma_tag_create(). ~0ul does not fit in an int on machines with 64 bit longs. Noticed by: alpha tinderbox
This commit is contained in:
parent
b9e99ecd32
commit
aa051f35c2
@ -226,7 +226,7 @@ adv_isa_probe(device_t dev)
|
||||
/*filter*/NULL,
|
||||
/*filterarg*/NULL,
|
||||
maxsize,
|
||||
/*nsegs*/BUS_SPACE_UNRESTRICTED,
|
||||
/*nsegs*/~0,
|
||||
maxsegsz,
|
||||
/*flags*/0,
|
||||
&adv->parent_dmat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user