From 103c96e68ccc048941a003b7fb6651fb511cd614 Mon Sep 17 00:00:00 2001 From: kib Date: Wed, 23 May 2012 17:09:14 +0000 Subject: [PATCH] Add 'drmn' device as another drm child, to allow drm2 drivers to live in parallel with drm1. Sponsored by: The FreeBSD Foundation MFC after: 1 month --- sys/dev/pci/vga_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index fc9684828594..6d796c8cbe61 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -105,6 +105,7 @@ vga_pci_attach(device_t dev) /* Always create a drm child for now to make it easier on drm. */ device_add_child(dev, "drm", -1); + device_add_child(dev, "drmn", -1); bus_generic_attach(dev); return (0); }