svn commit: r237237 - head/sys/arm/at91

Marius Strobl marius at FreeBSD.org
Mon Jun 18 19:22:11 UTC 2012


Author: marius
Date: Mon Jun 18 19:22:10 2012
New Revision: 237237
URL: http://svn.freebsd.org/changeset/base/237237

Log:
  Unbreak after r236658 by comparing the right things.

Modified:
  head/sys/arm/at91/at91sam9260.c

Modified: head/sys/arm/at91/at91sam9260.c
==============================================================================
--- head/sys/arm/at91/at91sam9260.c	Mon Jun 18 19:18:31 2012	(r237236)
+++ head/sys/arm/at91/at91sam9260.c	Mon Jun 18 19:22:10 2012	(r237237)
@@ -197,7 +197,7 @@ static void
 at91_identify(driver_t *drv, device_t parent)
 {
 
-	if (soc_data.type == AT91_CPU_SAM9260) {
+	if (soc_data.type == AT91_T_SAM9260) {
 		at91_add_child(parent, 0, "at91sam9260", 0, 0, 0, -1, 0, 0);
 		at91_cpu_add_builtin_children(parent);
 	}
@@ -266,7 +266,7 @@ at91_attach(device_t dev)
 	    &sc->sc_matrix_sh) != 0)
 		panic("Enable to map matrix registers");
 
-	/* activate NAND*/
+	/* activate NAND */
 	i = bus_space_read_4(sc->sc_st, sc->sc_matrix_sh,
 	    AT91SAM9260_EBICSA);
 	bus_space_write_4(sc->sc_st, sc->sc_matrix_sh,


More information about the svn-src-all mailing list