| 1638 | } |
| 1639 | |
| 1640 | static void |
| 1641 | decode_win_eth_dump(u_long base) |
| 1642 | { |
| 1643 | int i; |
| 1644 | |
| 1645 | if (pm_is_disabled(CPU_PM_CTRL_GE(eth_port - 1))) |
| 1646 | return; |
| 1647 | |
| 1648 | for (i = 0; i < MV_WIN_ETH_MAX; i++) { |
| 1649 | printf("ETH window#%d: b 0x%08x, s 0x%08x", i, |
| 1650 | win_eth_br_read(base, i), |
| 1651 | win_eth_sz_read(base, i)); |
| 1652 | |
| 1653 | if (win_eth_can_remap(i)) |
| 1654 | printf(", ha 0x%08x", |
| 1655 | win_eth_har_read(base, i)); |
| 1656 | |
| 1657 | printf("\n"); |
| 1658 | } |
| 1659 | printf("ETH windows: bare 0x%08x, epap 0x%08x\n", |
| 1660 | win_eth_bare_read(base), |
| 1661 | win_eth_epap_read(base)); |
| 1662 | } |
| 1663 | |
| 1664 | #define MV_WIN_ETH_DDR_TRGT(n) ddr_target(n) |
| 1665 |
no test coverage detected