PERFORCE change 89117 for review
Warner Losh
imp at FreeBSD.org
Tue Jan 3 16:41:10 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=89117
Change 89117 by imp at imp_Speedy on 2006/01/04 00:40:41
Add USB host controller (it is a ohci). Not entirely sure it belongs
on this bus or not, but what the heck.. We can move it later.
Affected files ...
.. //depot/projects/arm/src/sys/arm/at91/at91rm92.c#9 edit
.. //depot/projects/arm/src/sys/arm/at91/at91rm92reg.h#10 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/at91/at91rm92.c#9 (text+ko) ====
@@ -282,6 +282,9 @@
AT91RM92_SSC2_BASE, AT91RM92_SSC_SIZE, AT91RM92_IRQ_SSC2);
at91rm92_add_child(dev, 10, "spi", 0, AT91RM92_BASE + // SPI
AT91RM92_SPI_BASE, AT91RM92_SPI_SIZE, AT91RM92_IRQ_SPI);
+ // Not sure that the following belongs on this bus.
+ at91rm92_add_child(dev, 10, "ohci", 0, AT91RM92_BASE + // UHP
+ AT91RM92_OHCI_BASE, AT91RM92_OHCI_SIZE, AT91RM92_IRQ_UHP);
bus_generic_probe(dev);
bus_generic_attach(dev);
enable_interrupts(I32_bit | F32_bit);
==== //depot/projects/arm/src/sys/arm/at91/at91rm92reg.h#10 (text+ko) ====
@@ -334,6 +334,9 @@
#define AT91RM92_TC1C1_BASE 0xffa4040
#define AT91RM92_TC1C2_BASE 0xffa4080
+#define AT91RM92_OHCI_BASE 0x00300000
+#define AT91RM92_OHCI_SIZE 0x00100000
+
/* Pio definitions */
#define AT91RM92_PIO_PA0 (1 << 0)
#define AT91RM92_PA0_MISO (AT91RM92_PIO_PA0) /* SPI Master In Slave */
More information about the p4-projects
mailing list