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().
This commit is contained in:
parent
5908c617bb
commit
8f395fae42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160282
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user