Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Allen Briggs <briggs@netbsd.hut.fi>
List: source-changes
Date: 02/09/2001 16:33:17
Module Name:	syssrc
Committed By:	briggs
Date:		Fri Feb  9 14:33:16 UTC 2001

Modified Files:
	syssrc/sys/dev/pci: files.pci pcireg.h
Added Files:
	syssrc/sys/dev/pci: pciconf.c pciconf.h

Log Message:
Add an option (defopt) PCI_NETBSD_CONFIGURE that provides PCI bus
configuration (assignment of bus numbers, BARs, timer values,
interrupt lines, etc.).
The interface must be called from m.d. code prior to probing the bus.
It is meant to be called once for each primary (bus == 0) PCI bus in
the system.  It will configure any busses behind PCI-PCI bridges.
Section 9 man page for pci_configure_bus() will come soon.
In the meantime, sample usage is in arch/sandpoint/sandpoint/mainbus.c.
[ Reviewed by thorpej ]


To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 syssrc/sys/dev/pci/files.pci
cvs rdiff -r0 -r1.1 syssrc/sys/dev/pci/pciconf.c syssrc/sys/dev/pci/pciconf.h
cvs rdiff -r1.32 -r1.33 syssrc/sys/dev/pci/pcireg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.