svn commit: r236928 - stable/9/sys/dev/pci

Konstantin Belousov kib at FreeBSD.org
Mon Jun 11 21:38:37 UTC 2012


Author: kib
Date: Mon Jun 11 21:38:36 2012
New Revision: 236928
URL: http://svn.freebsd.org/changeset/base/236928

Log:
  MFC r235846:
  Add 'drmn' device as another drm child, to allow drm2 drivers to live
  in parallel with drm1.

Modified:
  stable/9/sys/dev/pci/vga_pci.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/pci/vga_pci.c
==============================================================================
--- stable/9/sys/dev/pci/vga_pci.c	Mon Jun 11 21:35:27 2012	(r236927)
+++ stable/9/sys/dev/pci/vga_pci.c	Mon Jun 11 21:38:36 2012	(r236928)
@@ -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-stable-9 mailing list