diff options
author | imp <imp@FreeBSD.org> | 2006-03-18 01:43:54 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-03-18 01:43:54 +0000 |
commit | a98bdc08136168fd66ba2c94e07b239be22cfee1 (patch) | |
tree | c726168dfdc9a29cabefe5e22be4cd4229296409 /sys | |
parent | e1042394e73e76c14d7db94666572e71f976d3af (diff) | |
download | FreeBSD-src-a98bdc08136168fd66ba2c94e07b239be22cfee1.zip FreeBSD-src-a98bdc08136168fd66ba2c94e07b239be22cfee1.tar.gz |
Add ohci controller mapping.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/at91/kb920x_machdep.c | 49 |
1 files changed, 30 insertions, 19 deletions
diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c index 66b2664..12893ad 100644 --- a/sys/arm/at91/kb920x_machdep.c +++ b/sys/arm/at91/kb920x_machdep.c @@ -146,25 +146,36 @@ static const struct pmap_devmap kb920x_devmap[] = { * 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 |