Date: Tue, 28 Nov 2000 14:05:03 -0700 From: Warner Losh <imp@village.org> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Mike Smith <msmith@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mlx mlx.c mlx_pci.c mlxvar.h Message-ID: <200011282105.OAA12901@harmony.village.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011282105.OAA12901>