Date: Wed, 4 Jan 2006 00:41:08 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 89117 for review Message-ID: <200601040041.k040f8s1038438@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89117 Change 89117 by imp@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601040041.k040f8s1038438>