From owner-cvs-src@FreeBSD.ORG Tue Jan 27 11:58:03 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9B9616A4CF for ; Tue, 27 Jan 2004 11:58:03 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E923143D5D for ; Tue, 27 Jan 2004 11:57:33 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 74370 invoked by uid 1000); 27 Jan 2004 19:55:44 -0000 Date: Tue, 27 Jan 2004 11:55:44 -0800 (PST) From: Nate Lawson To: "M. Warner Losh" In-Reply-To: <20040127.091238.05978307.imp@bsdimp.com> Message-ID: <20040127112940.W37323@root.org> References: <200401270604.i0R64Fpc076025@repoman.freebsd.org> <20040127.091238.05978307.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 bus_alloc_resource.9 bus_set_resource.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 19:58:03 -0000 On Tue, 27 Jan 2004, M. Warner Losh wrote: > In message: <200401270604.i0R64Fpc076025@repoman.freebsd.org> > Nate Lawson writes: > : njl 2004/01/26 22:04:15 PST > : > : FreeBSD src repository > : > : Modified files: > : share/man/man9 bus_alloc_resource.9 bus_set_resource.9 > : Log: > : Document my adventures in newbus land. Clarify some examples, especially > : that count is in bytes, not bits. There are some drivers that I think make > : this mistake. (I've seen counts of 16 in the tree). > > Counts of 16 in the tree are likely correct. Many devices have 8 or > 16 or 32 io ports in ISA land. I've not seen any drivers make this > mistake. Care to give an example? Well, for one ichsmb(4). It allocates 16 IO ports but only uses 8 according to its .h. The netgraph bt3c driver allocates 8 but only uses 5. I'm curious if wi/owi really need 64 IO ports. -Nate