summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-07-12 00:48:50 +0000
committercognet <cognet@FreeBSD.org>2006-07-12 00:48:50 +0000
commit45301dddff45e060b07f601d893065d6c4e33bbb (patch)
tree54e3a3cac3e6e3ed24c6a2f7751037043bfec6de /sys/arm/at91
parent2137fc50e63deaaa5b157d30cad71e58e711f606 (diff)
downloadFreeBSD-src-45301dddff45e060b07f601d893065d6c4e33bbb.zip
FreeBSD-src-45301dddff45e060b07f601d893065d6c4e33bbb.tar.gz
Comment out the mapping of the OHCI controller registers va == pa. This
address is in the userland address space. The proper thing is either to choose a virtual address in the kernel address space beyond the KVA, or to use pmap_mapdev().
Diffstat (limited to 'sys/arm/at91')
-rw-r--r--sys/arm/at91/kb920x_machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c
index 42ce0f8..3c03454 100644
--- a/sys/arm/at91/kb920x_machdep.c
+++ b/sys/arm/at91/kb920x_machdep.c
@@ -156,6 +156,7 @@ static const struct pmap_devmap kb920x_devmap[] = {
VM_PROT_READ|VM_PROT_WRITE,
PTE_NOCACHE,
},
+#if 0
{
/*
* Add the ohci controller, and anything else that might be
@@ -167,6 +168,7 @@ static const struct pmap_devmap kb920x_devmap[] = {
VM_PROT_READ|VM_PROT_WRITE,
PTE_NOCACHE,
},
+#endif
{
0,
0,
OpenPOWER on IntegriCloud