remove unneeded static mappings for NPE and MAC regions; these are

already mapped through the IO region so never used

Reviewed by:	imp, thompsa
This commit is contained in:
Sam Leffler 2009-03-06 23:29:00 +00:00
parent 83f5c9db4f
commit 42ca1e2bb5

View File

@ -174,23 +174,6 @@ static const struct pmap_devmap ixp425_devmap[] = {
{ IXP425_QMGR_VBASE, IXP425_QMGR_HWBASE, IXP425_QMGR_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* NPE-A Memory Space */
{ IXP425_NPE_A_VBASE, IXP425_NPE_A_HWBASE, IXP425_NPE_A_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* NPE-B Memory Space */
{ IXP425_NPE_B_VBASE, IXP425_NPE_B_HWBASE, IXP425_NPE_B_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* NPE-C Memory Space */
{ IXP425_NPE_C_VBASE, IXP425_NPE_C_HWBASE, IXP425_NPE_C_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* MAC-B Memory Space */
{ IXP425_MAC_B_VBASE, IXP425_MAC_B_HWBASE, IXP425_MAC_B_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* MAC-C Memory Space */
{ IXP425_MAC_C_VBASE, IXP425_MAC_C_HWBASE, IXP425_MAC_C_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
{ 0 },
};
@ -218,23 +201,6 @@ static const struct pmap_devmap ixp435_devmap[] = {
/* Q-Mgr Memory Space */
{ IXP425_QMGR_VBASE, IXP425_QMGR_HWBASE, IXP425_QMGR_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* NPE-A Memory Space */
{ IXP425_NPE_A_VBASE, IXP425_NPE_A_HWBASE, IXP425_NPE_A_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* NPE-C Memory Space */
{ IXP425_NPE_C_VBASE, IXP425_NPE_C_HWBASE, IXP425_NPE_C_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* MAC-C Memory Space */
{ IXP425_MAC_C_VBASE, IXP425_MAC_C_HWBASE, IXP425_MAC_C_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* MAC-B Memory Space */
{ IXP425_MAC_B_VBASE, IXP425_MAC_B_HWBASE, IXP425_MAC_B_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* MAC-A Memory Space */
{ IXP435_MAC_A_VBASE, IXP435_MAC_A_HWBASE, IXP435_MAC_A_SIZE,
VM_PROT_READ|VM_PROT_WRITE, PTE_NOCACHE, },
/* USB1 Memory Space */