PERFORCE change 174727 for review

Rafal Jaworowski raj at FreeBSD.org
Mon Feb 15 17:24:01 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=174727

Change 174727 by raj at raj_fdt on 2010/02/15 17:23:04

	Let the LBC driver attach to an extended (eLBC) variant of the
	controller.

Affected files ...

.. //depot/projects/fdt/sys/powerpc/mpc85xx/lbc.c#5 edit

Differences ...

==== //depot/projects/fdt/sys/powerpc/mpc85xx/lbc.c#5 (text+ko) ====

@@ -368,7 +368,8 @@
 lbc_probe(device_t dev)
 {
 
-	if (!ofw_bus_is_compatible(dev, "fsl,lbc"))
+	if (!(ofw_bus_is_compatible(dev, "fsl,lbc") ||
+	    ofw_bus_is_compatible(dev, "fsl,elbc")))
 		return (ENXIO);
 
 	device_set_desc(dev, "Freescale Local Bus Controller");


More information about the p4-projects mailing list