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:
mike 2003-01-19 15:13:41 +00:00
parent b9e99ecd32
commit aa051f35c2

View File

@ -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);