linux/drivers/net/ethernet/amd
Ondrej Zary 2be4cb973f pcnet32: fix BNC/AUI port on AM79C970A
Even though the port autoselection is enabled by default on AM79C970A,
BNC/AUI port does not work because the link is always reported to be
down. The link state reported by the chip belongs only to the TP port
but the driver uses it regardless of the port used. The chip can't
detect BNC/AUI link state.

Disable port autoselection and use TP port by default to keep current
behavior (link detection works on TP port, BNC/AUI port does not work).

Implement ethtool autoneg, port and duplex configuration to allow
using the BNC/AUI port.

Report the TP link state only if the TP port is selected. When the
port autoselection is enabled or AUI port is selected, report the link
as always up.

Move pcnet32_suspend() and pcnet32_clr_suspend() functions to avoid
forward declarations.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-14 14:26:58 -05:00
..
xgbe Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
7990.c ethernet: amd: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
7990.h net/7990: Make lance_private.name const 2013-12-29 00:46:38 -05:00
a2065.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
a2065.h
am79c961a.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
am79c961a.h
amd8111e.c amd8111e: add GRO support 2017-02-05 16:11:57 -05:00
amd8111e.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
ariadne.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ariadne.h
atarilance.c net: atarilance: use %8ph for printing hex string 2016-12-02 12:03:35 -05:00
au1000_eth.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
au1000_eth.h net: ethernet: amd: au1000_eth: use phydev from struct net_device 2016-07-15 16:41:35 -07:00
declance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
hplance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
hplance.h
Kconfig Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
lance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Makefile amd-xgbe: Configuration and build support 2014-06-05 15:26:51 -07:00
mvme147.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ni65.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ni65.h
nmclan_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
pcnet32.c pcnet32: fix BNC/AUI port on AM79C970A 2017-02-14 14:26:58 -05:00
sun3lance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sunlance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00