Date: Mon, 13 Feb 2006 21:17:35 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91697 for review Message-ID: <200602132117.k1DLHZPi025817@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91697 Change 91697 by imp@imp_Speedy on 2006/02/13 21:17:34 PA == VA for usb ohci controller, for the moment. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#16 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#16 (text+ko) ==== @@ -146,25 +146,36 @@ * Map the on-board devices VA == PA so that we can access them * with the MMU on or off. */ - { - /* - * This at least maps the interrupt controller, the UART - * and the timer. Other devices should use newbus to - * map their memory anyway. - */ - 0xfff00000, - 0xfff00000, - 0x100000, - VM_PROT_READ|VM_PROT_WRITE, - PTE_NOCACHE, - }, - { - 0, - 0, - 0, - 0, - 0, - } + { + /* + * This at least maps the interrupt controller, the UART + * and the timer. Other devices should use newbus to + * map their memory anyway. + */ + 0xfff00000, + 0xfff00000, + 0x100000, + VM_PROT_READ|VM_PROT_WRITE, + PTE_NOCACHE, + }, + { + /* + * Add the ohci controller, and anything else that might be + * on this chip select for a VA/PA mapping. + */ + AT91RM92_OHCI_BASE, + AT91RM92_OHCI_BASE, + AT91RM92_OHCI_SIZE, + VM_PROT_READ|VM_PROT_WRITE, + PTE_NOCACHE, + }, + { + 0, + 0, + 0, + 0, + 0, + } }; #define SDRAM_START 0xa0000000
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602132117.k1DLHZPi025817>