fm-eth: Add ability for board code to disable a port
The SoC configuration may have more ports enabled than a given board
actually can utilize. Add a routinue that allows the board code to
disable a port that it knows isn't being used.
fm_disable_port() needs to be called before cpu_eth_init().
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
Showing
- drivers/net/fm/fm.h 1 addition, 0 deletionsdrivers/net/fm/fm.h
- drivers/net/fm/init.c 8 additions, 0 deletionsdrivers/net/fm/init.c
- drivers/net/fm/p1023.c 6 additions, 0 deletionsdrivers/net/fm/p1023.c
- drivers/net/fm/p4080.c 6 additions, 0 deletionsdrivers/net/fm/p4080.c
- drivers/net/fm/p5020.c 6 additions, 0 deletionsdrivers/net/fm/p5020.c
- include/fm_eth.h 1 addition, 0 deletionsinclude/fm_eth.h
Please register or sign in to comment