From owner-cvs-all@FreeBSD.ORG Sun Nov 16 17:23:18 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7999D16A4CE; Sun, 16 Nov 2003 17:23:18 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FA243FD7; Sun, 16 Nov 2003 17:23:17 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id EFD50654B9; Mon, 17 Nov 2003 01:23:15 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27319-01-6; Mon, 17 Nov 2003 01:23:15 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id AA8F6654B8; Mon, 17 Nov 2003 01:23:09 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 1A04DF; Mon, 17 Nov 2003 01:23:01 +0000 (GMT) Date: Mon, 17 Nov 2003 01:23:00 +0000 From: Bruce M Simpson To: "M. Warner Losh" Message-ID: <20031117012300.GA81780@saboteur.dek.spc.org> Mail-Followup-To: "M. Warner Losh" , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311162233.hAGMXgIj025490@repoman.freebsd.org> <20031116.153608.24272682.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031116.153608.24272682.imp@bsdimp.com> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/idt idt.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:23:18 -0000 On Sun, Nov 16, 2003 at 03:36:08PM -0700, M. Warner Losh wrote: > In message: <200311162233.hAGMXgIj025490@repoman.freebsd.org> > Warner Losh 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