Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 03/02/2001 08:24:18
Module Name:	syssrc
Committed By:	mrg
Date:		Fri Mar  2 06:24:18 UTC 2001

Modified Files:
	syssrc/sys/dev/pci: pci.c

Log Message:
allow pci_bus_maxdevs() to be replaced with pci_bus_devorder() and
pci_dev_funcorder() that have the following signatures:

int pci_bus_devorder(pci_chipset_tag_t pc, int bus, char list[32]);
int pci_dev_funcorder(pci_chipset_tag_t pc, int bus, int device, char list[8]);

they control the order of PCI bus probe at the device and function level,
by filling in a value from 0 to 31 for pci_bus_devorder() or 0 to 7 for
pci_dev_funcorder, with a value of -1 to signify no more entries.

when device properties arrive, these will be replaced with some facility
based on properties (design/implementation unknown currently.)


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 syssrc/sys/dev/pci/pci.c

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