MCPcopy Create free account
hub / github.com/F-Stack/f-stack / decode_win_eth_dump

Function decode_win_eth_dump

freebsd/arm/mv/mv_common.c:1640–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1638}
1639
1640static void
1641decode_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

Callers 1

decode_win_neta_dumpFunction · 0.85

Calls 3

pm_is_disabledFunction · 0.85
win_eth_can_remapFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected