Date: Wed, 11 Mar 1998 07:34:44 -0600 From: "Eric L. Hernes" <erich@lodgenet.com> To: Bruce Evans <bde@zeta.org.au> Cc: erich@lodgenet.com, freebsd-scsi@FreeBSD.ORG Subject: Re: Scanner support Message-ID: <199803111334.HAA00496@jake.lodgenet.com> In-Reply-To: Your message of "Wed, 11 Mar 1998 12:26:58 %2B1100." <199803110126.MAA16949@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes: >>It's worked on an ncr 53860, and an adaptec 2940 with blocks of >>64 bytes and 64k, maybe sizes too. I'd kind of liked to put >>some upper bound on len, rather than just using it, but this has >>worked. > >See PR 5846. b_kvasize should be 0, since the buffer doesn't have >any kva. Setting it to a large value here probably works because >the value is never used except in the broken maxphys(). That makes sense. I got to maxphys(), which checked b_kvasize, then choked. I (hackishly) set b_kvasize, where the rest of the structure was filled, without really thinking about it. Is it better to ignore b_kvasize in maxphys()? If so is it better form, or more robust, or both? > >Bruce > Eric -- Eric L. Hernes erich@lodgenet.com erich@rrnet.com http://rrnet.com/~erich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803111334.HAA00496>