summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-11 07:55:32 +0000
committerpeter <peter@FreeBSD.org>1999-05-11 07:55:32 +0000
commit6fafcff85c06075b97950c1b4e2b78cbebb8b1c7 (patch)
treea1dc00afd4139f7d1d9cb828e205407a4cb79715 /sys/dev/pci
parent0c512720e5d4eb6a8eec290189ec7258a71398ed (diff)
downloadFreeBSD-src-6fafcff85c06075b97950c1b4e2b78cbebb8b1c7.zip
FreeBSD-src-6fafcff85c06075b97950c1b4e2b78cbebb8b1c7.tar.gz
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.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcivar.h5
1 files changed, 2 insertions, 3 deletions
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 */
OpenPOWER on IntegriCloud