PERFORCE change 106630 for review

Warner Losh imp at FreeBSD.org
Sun Sep 24 22:13:25 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=106630

Change 106630 by imp at imp_lighthouse on 2006/09/25 05:13:09

	Add mmc bus.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/at91_mci.c#3 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/at91_mci.c#3 (text+ko) ====

@@ -166,9 +166,8 @@
 		AT91_MCI_LOCK_DESTROY(sc);
 		goto out;
 	}
-
-	AT91_MCI_UNLOCK(sc);
-
+	device_add_child(dev, "mmc", 0);
+	err = bus_generic_attach(dev);
 out:;
 	if (err)
 		at91_mci_deactivate(dev);


More information about the p4-projects mailing list