Star64_linux/drivers/net/ethernet
David L Stevens 8266f5fcf0 sunvnet: only use connected ports when sending
The sunvnet driver doesn't check whether or not a port is connected when
transmitting packets, which results in failures if a port fails to connect
(e.g., due to a version mismatch). The original code also assumes
unnecessarily that the first port is up and a switch, even though there is
a flag for switch ports.

This patch only matches a port if it is connected, and otherwise uses the
switch_port flag to send the packet to a switch port that is up.

Signed-off-by: David L Stevens <david.stevens@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-28 17:29:53 -07:00
..
3com
8390
adaptec
adi
aeroflex
allwinner
alteon
altera
amd amd-xgbe: Fix error return code in xgbe_probe() 2014-07-23 14:54:12 -07:00
apple
arc
atheros
broadcom bnx2x: fix crash during TSO tunneling 2014-07-24 23:43:57 -07:00
brocade
cadence
calxeda
chelsio
cirrus
cisco
davicom
dec
dlink
emulex
faraday
freescale
fujitsu
hisilicon
hp
i825xx
ibm
icplus
intel
marvell
mellanox
micrel
microchip
moxa
myricom
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic
rdc
realtek
renesas
samsung
seeq
sfc
sgi
silan
sis
smsc
stmicro
sun sunvnet: only use connected ports when sending 2014-07-28 17:29:53 -07:00
tehuti
ti
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c
s6gmac.c