Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 17:24:00 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 174727 for review
Message-ID:  <201002151724.o1FHO0b2058783@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=174727

Change 174727 by raj@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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002151724.o1FHO0b2058783>