summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-02-19 09:44:06 +0000
committerdfr <dfr@FreeBSD.org>2000-02-19 09:44:06 +0000
commit545367f3927d9052cdeb31977bf61531c6fafc2d (patch)
tree6840306000f740de010c91a927f8bd28b61310c6 /sys/pci/pci.c
parent271b80ec8106c02a935dda5224ad5cadf5b72146 (diff)
downloadFreeBSD-src-545367f3927d9052cdeb31977bf61531c6fafc2d.zip
FreeBSD-src-545367f3927d9052cdeb31977bf61531c6fafc2d.tar.gz
Remove the vga-pci driver. It serves no purpose and it hides the hardware
from useful drivers such as the 3D DRI drivers I will be porting for hardware accelerated OpenGL. The hardware will still be reported during boot using the nomatch system. Approved by: jkh
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index ab051a6..e6c060d 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -1205,10 +1205,9 @@ pci_probe_nomatch(device_t dev, device_t child)
dinfo = device_get_ivars(child);
cfg = &dinfo->cfg;
desc = pci_ata_match(child);
- if (!desc)
- desc = pci_usb_match(child);
- if (!desc)
- desc = "unknown card";
+ if (!desc) desc = pci_usb_match(child);
+ if (!desc) desc = pci_vga_match(child);
+ if (!desc) desc = "unknown card";
device_printf(dev, desc);
printf(" (vendor=0x%04x, dev=0x%04x) at %d.%d",
cfg->vendor,
OpenPOWER on IntegriCloud