svn commit: r235846 - head/sys/dev/pci

Konstantin Belousov kib at FreeBSD.org
Wed May 23 17:09:15 UTC 2012


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


More information about the svn-src-head mailing list