]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
At Justin's request, limit the size of buffers that can be mapped into
authorken <ken@FreeBSD.org>
Wed, 16 Dec 1998 21:00:06 +0000 (21:00 +0000)
committerken <ken@FreeBSD.org>
Wed, 16 Dec 1998 21:00:06 +0000 (21:00 +0000)
commit36eb372526931ac48870431cac357b42fb8efe26
treeb83122039129b7aa6f85b13e3f9675a6233721c5
parent32cca8fd9bd8be8a9eb347f5b89d01ebb87c0052
At Justin's request, limit the size of buffers that can be mapped into
and out of kernel address space (via the pass(4) and xpt(4) peripheral
drivers) to 64K (DFLTPHYS).  Some controllers, like the Adaptec 1542,
don't support more than 64K transactions.

We plan on eventually having the capability of limiting this size based
on min(MAXPHYS, controller max), but since that capability isn't here yet,
limit things to the lowest common denominator.
sys/cam/cam_periph.c