Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 23:30:16 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192356 - in projects/mips/sys: arm/at91 dev/spibus
Message-ID:  <200905182330.n4INUGup078427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Mon May 18 23:30:15 2009
New Revision: 192356
URL: http://svn.freebsd.org/changeset/base/192356

Log:
  - Unwire spibus from at91_spi in projects/mips as well

Modified:
  projects/mips/sys/arm/at91/at91.c
  projects/mips/sys/arm/at91/at91_spi.c
  projects/mips/sys/dev/spibus/spibus.c

Modified: projects/mips/sys/arm/at91/at91.c
==============================================================================
--- projects/mips/sys/arm/at91/at91.c	Mon May 18 23:20:56 2009	(r192355)
+++ projects/mips/sys/arm/at91/at91.c	Mon May 18 23:30:15 2009	(r192356)
@@ -409,7 +409,7 @@ struct cpu_devs at91rm9200_devs[] =
 		AT91RM92_IRQ_SSC2
 	},
 	{
-		"at91_spi", 0,
+		"spi", 0,
 		AT91RM92_BASE + AT91RM92_SPI_BASE, AT91RM92_SPI_SIZE,
 		AT91RM92_IRQ_SPI
 	},

Modified: projects/mips/sys/arm/at91/at91_spi.c
==============================================================================
--- projects/mips/sys/arm/at91/at91_spi.c	Mon May 18 23:20:56 2009	(r192355)
+++ projects/mips/sys/arm/at91/at91_spi.c	Mon May 18 23:30:15 2009	(r192356)
@@ -297,7 +297,7 @@ static device_method_t at91_spi_methods[
 };
 
 static driver_t at91_spi_driver = {
-	"at91_spi",
+	"spi",
 	at91_spi_methods,
 	sizeof(struct at91_spi_softc),
 };

Modified: projects/mips/sys/dev/spibus/spibus.c
==============================================================================
--- projects/mips/sys/dev/spibus/spibus.c	Mon May 18 23:20:56 2009	(r192355)
+++ projects/mips/sys/dev/spibus/spibus.c	Mon May 18 23:30:15 2009	(r192356)
@@ -194,5 +194,5 @@ static driver_t spibus_driver = {
 
 devclass_t	spibus_devclass;
 
-DRIVER_MODULE(spibus, at91_spi, spibus_driver, spibus_devclass, 0, 0);
+DRIVER_MODULE(spibus, spi, spibus_driver, spibus_devclass, 0, 0);
 MODULE_VERSION(spibus, 1);



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