]> git.dujemihanovic.xyz Git - u-boot.git/commit
fm-eth: Add ability for board code to disable a port
authorKumar Gala <galak@kernel.crashing.org>
Wed, 14 Sep 2011 17:01:35 +0000 (12:01 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 3 Oct 2011 13:52:15 +0000 (08:52 -0500)
commit69a852425883a4abd8dc726da34e3149a08ee95d
treed919f003c01ee119e4938d67b15a3cdb9f0c407c
parent2b3a1cdd9ed14441ae91845851aaf91adddbafc0
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>
drivers/net/fm/fm.h
drivers/net/fm/init.c
drivers/net/fm/p1023.c
drivers/net/fm/p4080.c
drivers/net/fm/p5020.c
include/fm_eth.h