summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/vga_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r--sys/dev/pci/vga_pci.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c
index ea7ce33..54424a2 100644
--- a/sys/dev/pci/vga_pci.c
+++ b/sys/dev/pci/vga_pci.c
@@ -70,13 +70,6 @@ vga_pci_attach(device_t dev)
bus_generic_probe(dev);
- /*
- * If AGP capabilities are present on this device, then create
- * an AGP child.
- */
- if (pci_find_extcap(dev, PCIY_AGP, NULL) == 0)
- device_add_child(dev, "agp", -1);
-
/* Always create a drm child for now to make it easier on drm. */
device_add_child(dev, "drm", -1);
bus_generic_attach(dev);
OpenPOWER on IntegriCloud