From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 9 07:38:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88C5616A4CE; Fri, 9 Jan 2004 07:38:22 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF48C43D49; Fri, 9 Jan 2004 07:38:20 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 6A222531A; Fri, 9 Jan 2004 16:38:19 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 0A6985314; Fri, 9 Jan 2004 16:38:12 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id CF6A533C9A; Fri, 9 Jan 2004 16:38:11 +0100 (CET) To: "M. Warner Losh" References: <200401091400.40550.doconnor@gsoft.com.au> <3FFE5211.5040606@freebsd.org> <20040109.075929.90380697.imp@bsdimp.com> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 09 Jan 2004 16:38:11 +0100 In-Reply-To: <20040109.075929.90380697.imp@bsdimp.com> (M. Warner Losh's message of "Fri, 09 Jan 2004 07:59:29 -0700 (MST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_SORBS autolearn=no version=2.60 cc: hackers@freebsd.org cc: scottl@freebsd.org Subject: Re: Discussion on the future of floppies in 5.x and 6.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 15:38:22 -0000 "M. Warner Losh" writes: > des@des.no (Dag-Erling Sm=F8rgrav) writes: > : 2) use pciconf -l (or direct access to /dev/pci) to retrieve the PCI > : IDs of unclaimed devices, look them up in a list of supported PCI > : devices, and load the appropriate module. > There's some ongoing work to make this easier to do. There are some > issues with doing this, but nothing that can't be overcome. Every PCI > driver in the tree will likely need to change in some form to make > this happen, however. Not necessarily; one could, as a temporary measure, create and maintain the list of supported PCI IDs manually. I had a prototype once (though my purpose at the time was to generate kernel configs, not load modules). I dropped it because someone else was working on the same thing and had it seemed they'd gotten further than I had. I still have the sources though... (rev 1.32 of sys/dev/pci/pcireg.h was a side effect of that work) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no