From owner-freebsd-arch@FreeBSD.ORG Mon Jun 16 22:40:13 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AA7737B401 for ; Mon, 16 Jun 2003 22:40:13 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A4143FAF for ; Mon, 16 Jun 2003 22:40:12 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5H5e0kA065562; Mon, 16 Jun 2003 23:40:00 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 16 Jun 2003 23:39:08 -0600 (MDT) Message-Id: <20030616.233908.94890442.imp@bsdimp.com> To: gurney_j@efn.org From: "M. Warner Losh" In-Reply-To: <20030617053456.GG73854@funkthat.com> References: <20030617050905.GE73854@funkthat.com> <20030616.231258.116352275.imp@bsdimp.com> <20030617053456.GG73854@funkthat.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: make /dev/pci really readable X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 05:40:13 -0000 In message: <20030617053456.GG73854@funkthat.com> John-Mark Gurney writes: : You can take a look at it if you want (I'll send you my patchse : shortly.). Shouldn't take but about 5-10 minutes of your time. It's : a VERY simple interface/code. Actually, looks like the interactions with others have done a great job of doing that. : > : > You can get the same information that pciconf -l does by going through : > : > the alternative interface of devinfo. : > : : > : So, I hear you proposing to remove pciconf and the /dev/pci interface? : > : > Not really. I'm saying that we should beef up devinfo interface so : > that it can get PNP information from more databases that just the PCI : > one. pciconf is the wrong place for -v to be placed. But it was the : > only place to place it when it was written. Now that other busses : > have begun to implement pnp info to userland, we should look at a good : > way to deal. : : I agree... devinfo is much beter than pciconf for device information, : but this whole bit was just started to get one small piece of code : committed, at least it'll be better while it lasts. True. It will be a while before devinfo can get the TLC I really want to give it. Warner