Author: kib
Date: Wed May 23 17:09:14 2012
New Revision: 235846
URL: http://svn.freebsd.org/changeset/base/235846

Log:
  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

Modified:
  head/sys/dev/pci/vga_pci.c

Modified: head/sys/dev/pci/vga_pci.c
==============================================================================
--- head/sys/dev/pci/vga_pci.c  Wed May 23 17:03:09 2012        (r235845)
+++ head/sys/dev/pci/vga_pci.c  Wed May 23 17:09:14 2012        (r235846)
@@ -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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to