From 6fafcff85c06075b97950c1b4e2b78cbebb8b1c7 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 11 May 1999 07:55:32 +0000 Subject: Use the probe priority mechanism to make sure the chip* probes do not displace a real driver. Revert rev 1.109. Pick up a few things from elsewhere (a couple of SiS id's). As an *experiment*, have the chip* driver claim (for reporting purposes) IDE controllers if there isn't another PCI-aware ide or ata driver to grab them. I've exported the match function since it could be used from the ata-all.c code replacing ata_pcimatch() - but I have not touched the ata code. I'd like to catch a few more devices this way, including USB and other bridges etc. --- sys/dev/pci/pcivar.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 8223053..12c1bab 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcivar.h,v 1.29 1999/05/06 22:05:39 peter Exp $ + * $Id: pcivar.h,v 1.30 1999/05/09 20:25:01 peter Exp $ * */ @@ -173,8 +173,7 @@ extern u_int32_t pci_numdevs; /* externally visible functions */ -int pci_probe (pciattach *attach); -void pci_drvattach(struct pci_devinfo *dinfo); +const char *ide_pci_match(struct device *dev); /* low level PCI config register functions provided by pcibus.c */ -- cgit v1.1