[PATCH v8] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-19 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - make some variables unsigned --- drivers/net/ethernet/K

[PATCH v7] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-18 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - fix int / unsigned int mismatch - spell out "unsigned int"

[PATCH v6] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-16 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - Use napi_gro_receive() - Ignore xmit_more if using last tx desc

[PATCH] net: phy: at803x: support interrupt on 8030 and 8035

2015-11-12 Thread Mans Rullgard
Commit 77a993942 "phy/at8031: enable at8031 to work on interrupt mode" added interrupt support for the 8031 PHY but left out the other two chips supported by this driver. This patch sets the .ack_interrupt and .config_intr functions for the 8030 and 8035 drivers as well. Signed-of

[PATCH] net: phy: vitesse: add support for VSC8601

2015-11-12 Thread Mans Rullgard
This adds support for the Vitesse VSC8601 PHY. Generic functions are used for everything except interrupt handling. Signed-off-by: Mans Rullgard <m...@mansr.com> --- drivers/net/phy/vitesse.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/n

[PATCH v5] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-10 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - Refactored mdio access functions - Refactored register access h

[PATCH v4] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-29 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - Make ethtool_ops const - Fix race in tx path on smp systems - Use dif

[PATCH v3 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-26 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - remove check for wake on lan irq as it is never requested - pretti

[PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-22 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- drivers/net/ethernet/Kconfig |1 + drivers/net/ethernet/Ma

[PATCH v2 1/2] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-22 Thread Mans Rullgard
This adds a binding for the Aurora VLSI NB8800 Ethernet controller using the "aurora,nb8800" compatible string. When used in Sigma Designs chips a few additional control registers are available. This variant is indicated by the "sigma,smp8640-ethernet" compatible string.

[PATCH v2 2/2] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-10-22 Thread Mans Rullgard
This adds a driver for the Aurora VLSI NB8800 Ethernet controller. It is an almost complete rewrite of a driver originally found in a Sigma Designs 2.6.22 tree. Signed-off-by: Mans Rullgard <m...@mansr.com> --- Changes: - fix 64-bit build warnings --- drivers/net/ethernet/Kconfig