summaryrefslogtreecommitdiffstats
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-01 07:50:12 +0000
committerimp <imp@FreeBSD.org>2005-03-01 07:50:12 +0000
commitca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37 (patch)
tree60438a3fca2e5272601be58cd8fca3817dc8ed2d /sys/dev/tdfx
parentbdb2a763651df2b1f12aa351f33d6d94f620e896 (diff)
downloadFreeBSD-src-ca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37.zip
FreeBSD-src-ca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37.tar.gz
Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, return
BUS_PROBE_LOW_PRIORITY in stead of ifdef for devices that xl and vx both support so that xl will snarf them on up.
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 7ad6282..c0d7125 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -120,25 +120,25 @@ tdfx_probe(device_t dev)
/*
* probe routine called on kernel boot to register supported devices. We get
* a device structure to work with, and we can test the VENDOR/DEVICE IDs to
- * see if this PCI device is one that we support. Return 0 if yes, ENXIO if
- * not.
+ * see if this PCI device is one that we support. Return BUS_PRROBE_DEFAULT
+ * if yes, ENXIO if not.
*/
switch(pci_get_devid(dev)) {
case PCI_DEVICE_ALLIANCE_AT3D:
device_set_desc(dev, "ProMotion At3D 3D Accelerator");
- return 0;
+ return BUS_PROBE_DEFAULT;
case PCI_DEVICE_3DFX_VOODOO2:
device_set_desc(dev, "3DFX Voodoo II 3D Accelerator");
- return 0;
+ return BUS_PROBE_DEFAULT;
/*case PCI_DEVICE_3DFX_BANSHEE:
device_set_desc(dev, "3DFX Voodoo Banshee 2D/3D Graphics Accelerator");
- return 0;
+ return BUS_PROBE_DEFAULT;
case PCI_DEVICE_3DFX_VOODOO3:
device_set_desc(dev, "3DFX Voodoo3 2D/3D Graphics Accelerator");
- return 0;*/
+ return BUS_PROBE_DEFAULT;*/
case PCI_DEVICE_3DFX_VOODOO1:
device_set_desc(dev, "3DFX Voodoo Graphics 3D Accelerator");
- return 0;;
+ return BUS_PROBE_DEFAULT;
};
return ENXIO;
OpenPOWER on IntegriCloud