net: remove need for eth_halt/eth_open
commit994f95c073caf4df62d1271aef4112ce8aaa8add
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 27 May 2010 09:37:46 +0000 (27 11:37 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 17 Jun 2010 06:28:16 +0000 (17 08:28 +0200)
treec0167dbdedb5c3ebc68f374c3f3df7d0b0b8bfdb
parentc21a7fb9f15ee1fb213e22c0e7a9d0f53b274cb2
net: remove need for eth_halt/eth_open

We used to eth_open/eth_halt the network devices during NetLoopInit
which is called whenever the user enters a network command.
Change this behaviour so that the current network device gets opened
when making it the current one.
With this change it's always possible to send packages and we are able
to implement a new network stack in the next step.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
commands/net.c
include/net.h
net/eth.c
net/net.c
net/ping.c