The maximum allowable alloc is 16K not (16K-1).

This whole section is actually overly restrictive and
another patch is in the works.
This commit is contained in:
julian 2005-04-13 16:39:22 +00:00
parent 4085e6fe95
commit 7287eb95eb

View File

@ -314,7 +314,7 @@ ua_attach(device_t dev)
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
/*maxsize*/bufsz, /*nsegments*/1,
/*maxsegz*/0x3fff, /*flags*/0,
/*maxsegz*/0x4000, /*flags*/0,
/*lockfunc*/busdma_lock_mutex,
/*lockarg*/&Giant,
&ua->parent_dmat) != 0) {