linux-stable/drivers/net/ibm_newemac
Petri Gynther d3b325f9c2 ibm_newemac: emac_close() needs to call netif_carrier_off()
When ibm_newemac netdev instance is shutdown with "ifconfig down",
the netdev interface does not go properly down. netif_carrier_ok()
keeps returning TRUE even after "ifconfig down".

The problem can be seen when ibm_newemac instances are slaves of
a bonding interface. The bonding interface code uses netif_carrier_ok()
to determine the link status of its slaves. When ibm_newemac slave is
shutdown with "ifconfig down", the bonding interface won't detect any
link status change because netif_carrier_ok() keeps returning TRUE.

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-20 02:21:27 -07:00
..
core.c ibm_newemac: emac_close() needs to call netif_carrier_off() 2009-08-20 02:21:27 -07:00
core.h ibm_newemac: Fix EMAC soft reset on 460EX/GT 2008-10-08 15:27:14 -07:00
debug.c
debug.h
emac.h
Kconfig Merge commit 'origin' 2008-10-15 11:31:54 +11:00
Makefile
mal.c net: Add init_dummy_netdev() and fix EMAC driver using it 2009-01-14 21:05:05 -08:00
mal.h net: Add init_dummy_netdev() and fix EMAC driver using it 2009-01-14 21:05:05 -08:00
phy.c net: variables reach -1, but 0 tested 2009-02-02 21:39:02 -08:00
phy.h ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY 2008-10-02 13:06:42 -04:00
rgmii.c drivers/net: Move a dereference below a NULL test 2009-07-21 13:00:43 -07:00
rgmii.h
tah.c
tah.h
zmii.c
zmii.h