From owner-freebsd-bugs Tue May 5 15:20:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24703 for freebsd-bugs-outgoing; Tue, 5 May 1998 15:20:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24341; Tue, 5 May 1998 15:18:55 -0700 (PDT) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (dialup124.zpr.Uni-Koeln.DE [134.95.219.124]) by Octopussy.MI.Uni-Koeln.DE (8.8.8/8.8.8) with ESMTP id AAA17612; Wed, 6 May 1998 00:18:45 +0200 (MET DST) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.8.8/8.6.9) id XAA03904; Tue, 5 May 1998 23:53:21 +0200 (CEST) X-Face: " Date: Tue, 5 May 1998 23:53:21 +0200 From: Stefan Esser To: "Greg A. Woods" , FreeBSD-gnats-submit@FreeBSD.ORG Cc: freebsd-bugs@FreeBSD.ORG, Stefan Esser Subject: Re: kern/6481: Patches for VIA Socket 7 chipsets References: <199805042240.SAA21126@brain.zeus.leitch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199805042240.SAA21126@brain.zeus.leitch.com>; from Greg A. Woods on Mon, May 04, 1998 at 06:40:55PM -0400 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1998-05-04 18:40 -0400, "Greg A. Woods" wrote: > The following hunk of code (in sys/pci/pcisupport.c:chipset_probe() from > 2.2.6) shows a bit more detail on the FIC PA-2012 motherboard w/VIA-VP3 > that we're testing.... Chip revision details were derived from the > on-line datasheets at www.via.com.tw. Seems a bit silly to do all this > just for the probe messages, but it is kinda neat to see it all and know > you've got what you think you have. It might be nice if the probe > message in which these strings appear used hex for the "rev" value too... I'll look into this when I have some spare time. There is code to print messages based on the contents of arbitrary configuration registers (see what's done for the Intel Saturn chip-set, for example, that's the one I implemented the feature for, originally ...) But in fact I think those register dumps should be moved out of the kernel and into a user-land program, which accesses the configuration registers through the ioctl interface (/dev/pci), see pciconf. Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message