From 545367f3927d9052cdeb31977bf61531c6fafc2d Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 19 Feb 2000 09:44:06 +0000 Subject: 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 --- sys/dev/pci/pci.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/dev/pci/pci.c') diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index ab051a6..e6c060d 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/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, -- cgit v1.1