From owner-cvs-all Tue Nov 28 13: 5: 9 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2537937B400; Tue, 28 Nov 2000 13:05:05 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eASL53Q62740; Tue, 28 Nov 2000 14:05:04 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA12901; Tue, 28 Nov 2000 14:05:03 -0700 (MST) Message-Id: <200011282105.OAA12901@harmony.village.org> To: Garrett Wollman Subject: Re: cvs commit: src/sys/dev/mlx mlx.c mlx_pci.c mlxvar.h Cc: Mike Smith , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Tue, 28 Nov 2000 13:44:23 EST." <200011281844.NAA07812@khavrinen.lcs.mit.edu> References: <200011281844.NAA07812@khavrinen.lcs.mit.edu> <200011281819.NAA07602@khavrinen.lcs.mit.edu> <200011281840.eASIejF25898@mass.osd.bsdi.com> Date: Tue, 28 Nov 2000 14:05:03 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200011281844.NAA07812@khavrinen.lcs.mit.edu> Garrett Wollman writes: : ``Design'' is probably too strong a word. I thought it might be : useful to have such a capability when I first put the API together, : but I haven't managed think of a good use for it since then, and : several people at BSDcon suggested that it was both counterintuitive : and unnecessary. The example that I was given, or maybe I came up with it since I can't recall who gave it to me, was that you'd pass a rid of -1 to mean "The best one you can guess" and have that translate to 0 on ISA and the first BAR in the config space that matched this type of resource (eg if it was for ioports, then the first BAR that was I/O ports, etc). The bus would then write back the "proper" value for the rid so that the rest of the system would "work" as it always had. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message