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
This commit is contained in:
kib 2012-05-23 17:09:14 +00:00
parent 9c06161243
commit 103c96e68c

View File

@ -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);
}