summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91rm92reg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-31 15:38:05 +0000
committerimp <imp@FreeBSD.org>2014-01-31 15:38:05 +0000
commit9190257f1a260a4d61b397c99c7fdd219464be13 (patch)
tree431ccebf5b12ed89d9d0e5b90c6c774f379527c4 /sys/arm/at91/at91rm92reg.h
parent3f99ec60916b6b854460761559605c52dcb65f21 (diff)
downloadFreeBSD-src-9190257f1a260a4d61b397c99c7fdd219464be13.zip
FreeBSD-src-9190257f1a260a4d61b397c99c7fdd219464be13.tar.gz
Switch to using PAs rather than VAs for the addresses we map for
devices. This is a nop, except for what's reported by atmelbus for the resources. It would be nice if we could dymanically allocated these things, but the pmap_mapdev panics if we don't keep the static mappings, so we still need to play the carefully allocate VA space between all supported SoC game. User's with their own devices may need to make adjustments.
Diffstat (limited to 'sys/arm/at91/at91rm92reg.h')
-rw-r--r--sys/arm/at91/at91rm92reg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arm/at91/at91rm92reg.h b/sys/arm/at91/at91rm92reg.h
index 66fad34..5db3d7e 100644
--- a/sys/arm/at91/at91rm92reg.h
+++ b/sys/arm/at91/at91rm92reg.h
@@ -255,12 +255,12 @@
* other * soc's so phyical and vm address
* mapping are unique. XXX
*/
-#define AT91RM92_OHCI_BASE 0xdfe00000
-#define AT91RM92_OHCI_PA_BASE 0x00300000
+#define AT91RM92_OHCI_VA_BASE 0xdfe00000
+#define AT91RM92_OHCI_BASE 0x00300000
#define AT91RM92_OHCI_SIZE 0x00100000
-#define AT91RM92_CF_BASE 0xdfd00000
-#define AT91RM92_CF_PA_BASE 0x51400000
+#define AT91RM92_CF_VA_BASE 0xdfd00000
+#define AT91RM92_CF_BASE 0x51400000
#define AT91RM92_CF_SIZE 0x00100000
/* SDRAMC */
OpenPOWER on IntegriCloud