cvs commit: src/sys/dev/idt idt.c

Bruce M Simpson bms at spc.org
Sun Nov 16 17:23:18 PST 2003


On Sun, Nov 16, 2003 at 03:36:08PM -0700, M. Warner Losh wrote:
> In message: <200311162233.hAGMXgIj025490 at repoman.freebsd.org>
>             Warner Losh <imp at FreeBSD.org> writes:
> :   Gross kludge:
> 
> Others are welcome to find better ways to fix this.  The real fix is
> to fix the driver to not require 2048 byte mbufs.

I've looked at differences between pdq (DEC FDDI Controller) and idt(4).
It seems pdq does the right thing by specifying that it wants its buffers
to be 2048 bytes, using MCLGET() to ask for the cluster after the mbuf,
then using busdma to allocate the 2048 byte buffer.

BMS


More information about the cvs-src mailing list