summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-23 17:09:14 +0000
committerkib <kib@FreeBSD.org>2012-05-23 17:09:14 +0000
commit103c96e68ccc048941a003b7fb6651fb511cd614 (patch)
tree1093324aa10f0091412790ef4fc6e711507fd619 /sys/dev
parent9c06161243a4e6ff8e5f19fd025b932187747e79 (diff)
downloadFreeBSD-src-103c96e68ccc048941a003b7fb6651fb511cd614.zip
FreeBSD-src-103c96e68ccc048941a003b7fb6651fb511cd614.tar.gz
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/vga_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c
index fc96848..6d796c8 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);
}
OpenPOWER on IntegriCloud