Add new lan743x driver.
The lan743x from Microchip Technologies Inc,
is a PCIe to Gigabit Ethernet Controller.
Bryan Whitehead (3):
lan743x: Add main source file for new lan743x driver
lan743x: Update Kconfig and Makefile to include lan743x driver
lan743x: Update MAINTAINERS to include
Add main source files for new lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
drivers/net/ethernet/microchip/lan743x_main.c | 2964 +
drivers/net/ethernet/microchip/lan743x_main.h | 1331 +++
2 files changed, 4295 inse
Update Kconfig and Makefile to include lan743x driver.
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
drivers/net/ethernet/microchip/Kconfig | 9 +
drivers/net/ethernet/microchip/Makefile | 3 +++
2 files changed, 12 insertions(+)
diff --git a/drivers/net/et
Update MAINTAINERS to include lan743x driver maintainers.
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3bdc260..0fb76d8 100644
--- a/MAINTAINERS
+++ b/MAINT
Update MAINTAINERS to include lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9a7f76e..c340125 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9149,6 +9
Add main source files for new lan743x driver.
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
drivers/net/ethernet/microchip/Kconfig| 10 +
drivers/net/ethernet/microchip/Makefile |3 +
drivers/net/ethernet/microchip/lan743x_main.c
Add new lan743x driver.
The lan743x from Microchip Technologies Inc,
is a PCIe to Gigabit Ethernet Controller.
Bryan Whitehead (2):
lan743x: Add main source files for new lan743x driver
lan743x: Update MAINTAINERS to include lan743x driver
MAINTAINERS
PTP support includes:
Ingress, and egress timestamping.
One step timestamping available.
PTP clock support.
Periodic output support.
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Makefile |2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c
Implement RSS support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 132 +++
drivers/net/ethernet/microchip/lan743x_main.c| 20
drivers/net/ethernet/microchip/lan743x_main.h| 19
3 files changed, 171 insertions
Implement ethtool eeprom access
Also provides access to OTP (One Time Programming)
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 209 +++
drivers/net/ethernet/microchip/lan743x_main.h| 33
2 files
Implement ethtool get_drvinfo
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/Makefile | 2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 21 +
drivers/net/ethernet/microchip/lan743x_ethtool.h | 11
Implement ethtool message level
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip
IZE in lan743x_ethtool_set_eeprom.
Patch 6/9 - Removed unnecessary read of PMT_CTL.
Used CRC algorithm from lib.
Removed PHY interrupt settings from lan743x_pm_suspend
Change "#if CONFIG_PM" to "#ifdef CONFIG_PM"
Bryan Whitehead (8):
lan743x: Add support
Implement ethtool statistics
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 180 +++
drivers/net/ethernet/microchip/lan743x_main.c| 6 +-
drivers/net/ethernet/microchip/lan743x_main.h| 31
3
Implement EEE support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 85
drivers/net/ethernet/microchip/lan743x_main.h| 3 +
2 files changed, 88 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b
Implement power management
Supports suspend, resume, and Wake on LAN
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 47 ++
drivers/net/ethernet/microchip/lan743x_main.c| 176 +++
drivers/net/ethernet/microchip/lan743x_main.h
Use default link setting functions
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip
Implement ethtool eeprom access
Also provides access to OTP (One Time Programming)
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 209 +++
drivers/net/ethernet/microchip/lan743x_main.h| 33
2 files
end
Change "#if CONFIG_PM" to "#ifdef CONFIG_PM"
Bryan Whitehead (8):
lan743x: Add support for ethtool get_drvinfo
lan743x: Add support for ethtool link settings
lan743x: Add support for ethtool statistics
lan743x: Add support for ethtool message level
lan743x: Add sup
Use default link setting functions
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip
Implement RSS support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 132 +++
drivers/net/ethernet/microchip/lan743x_main.c| 20
drivers/net/ethernet/microchip/lan743x_main.h| 19
3 files changed, 171 insertions
Implement ethtool get_drvinfo
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/Makefile | 2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 21 +
drivers/net/ethernet/microchip/lan743x_ethtool.h | 11
Implement ethtool message level
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip
Implement ethtool statistics
Signed-off-by: Bryan Whitehead
Reviewed-by: Andrew Lunn
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 180 +++
drivers/net/ethernet/microchip/lan743x_main.c| 6 +-
drivers/net/ethernet/microchip/lan743x_main.h| 31
3
Implement power management.
Supports suspend, resume, and Wake On LAN
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 52 +++
drivers/net/ethernet/microchip/lan743x_main.c| 184 +++
drivers/net/ethernet/microchip/lan743x_main.h
Implement EEE support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 92
drivers/net/ethernet/microchip/lan743x_main.h| 3 +
2 files changed, 95 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Makefile |2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 28 +
drivers/net/ethernet/microchip/lan743x_main.c| 81 +-
drivers/net/ethernet/microchip/lan743x_main.h| 96 +-
drivers/net/ethernet
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 51 ++
drivers/net/ethernet/microchip/lan743x_main.c| 210 +++
drivers/net/ethernet/microchip/lan743x_main.h| 47 +
3 files changed, 308 insertions(+)
diff --git a/drivers
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip/lan743x_ethtool.c
index 0e20758..5c4582c 100644
--- a/drivers/net
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 132 +++
drivers/net/ethernet/microchip/lan743x_main.c| 20
drivers/net/ethernet/microchip/lan743x_main.h| 19
3 files changed, 171 insertions(+)
diff --git a/drivers
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 89
drivers/net/ethernet/microchip/lan743x_main.h| 3 +
2 files changed, 92 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Makefile | 2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 21 +
drivers/net/ethernet/microchip/lan743x_ethtool.h | 11 +++
drivers/net/ethernet/microchip/lan743x_main.c| 2 ++
4
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 209 +++
drivers/net/ethernet/microchip/lan743x_main.h| 33
2 files changed, 242 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 182 +++
drivers/net/ethernet/microchip/lan743x_main.c| 6 +-
drivers/net/ethernet/microchip/lan743x_main.h| 31
3 files changed, 216 insertions(+), 3 deletions(-)
diff
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip/lan743x_ethtool.c
index 988c67c..addd628 100644
This patch series adds extra features to the lan743x driver.
Bryan Whitehead (9):
lan743x: Add support for ethtool get_drvinfo
lan743x: Add support for ethtool link settings
lan743x: Add support for ethtool statistics
lan743x: Add support for ethtool message level
lan743x: Add support
Use default link setting functions
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip/lan743x_ethtool.c
index 0e20758
Implement ethtool statistics
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 180 +++
drivers/net/ethernet/microchip/lan743x_main.c| 6 +-
drivers/net/ethernet/microchip/lan743x_main.h| 31
3 files changed, 214 insertions
Implement ethtool eeprom access
Also provides access to OTP (One Time Programming)
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 209 +++
drivers/net/ethernet/microchip/lan743x_main.h| 33
2 files changed, 242 insertions
lib.
Removed PHY interrupt settings from lan743x_pm_suspend
Change "#if CONFIG_PM" to "#ifdef CONFIG_PM"
Bryan Whitehead (9):
lan743x: Add support for ethtool get_drvinfo
lan743x: Add support for ethtool link settings
lan743x: Add support fo
PTP support includes:
Ingress, and egress timestamping.
PTP clock support
Pulse per second output on GPIO
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Makefile |2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 28 +
drivers/net/ethernet
Implement EEE support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 89
drivers/net/ethernet/microchip/lan743x_main.h| 3 +
2 files changed, 92 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b
Implement ethtool get_drvinfo
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Makefile | 2 +-
drivers/net/ethernet/microchip/lan743x_ethtool.c | 21 +
drivers/net/ethernet/microchip/lan743x_ethtool.h | 11 +++
drivers/net/ethernet
Implement power management.
Supports suspend, resume, and Wake On LAN
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 48 ++
drivers/net/ethernet/microchip/lan743x_main.c| 184 +++
drivers/net/ethernet/microchip/lan743x_main.h
Implement RSS support
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 132 +++
drivers/net/ethernet/microchip/lan743x_main.c| 20
drivers/net/ethernet/microchip/lan743x_main.h| 19
3 files changed, 171 insertions
Implement ethtool message level
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_ethtool.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c
b/drivers/net/ethernet/microchip/lan743x_ethtool.c
index
Add main source files for new lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
drivers/net/ethernet/microchip/Kconfig| 10 +
drivers/net/ethernet/microchip/Makefile |3 +
drivers/net/ethernet/microchip/lan743x_main.c
to napi.
Updates for V2:
Patch 1/2 - Applied community suggestions
Bryan Whitehead (2):
lan743x: Add main source files for new lan743x driver
lan743x: Update MAINTAINERS to include lan743x driver
MAINTAINERS |7 +
drivers/net/ethernet/microchip/Kconfig
Update MAINTAINERS to include lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e0b3900..a2129b3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9157,6 +9
initialization tracking flags.
converted to 64 bit statistics.
converted tx clean up tasklet to napi.
Updates for V2:
Patch 1/2 - Applied community suggestions
Bryan Whitehead (2):
lan743x: Add main source files for new lan743x driver
lan743x: Update MAINTAINERS to include lan743x
Add main source files for new lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
drivers/net/ethernet/microchip/Kconfig| 10 +
drivers/net/ethernet/microchip/Makefile |3 +
drivers/net/ethernet/microchip/lan743x_main.c
Update MAINTAINERS to include lan743x driver
Signed-off-by: Bryan Whitehead <bryan.whiteh...@microchip.com>
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e0b3900..a2129b3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9157,6 +9
The SPI dependency does not apply to lan743x driver, and other
drivers in the group already state their dependence on SPI.
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/microchip/Kconfig
b
The SPI dependency does not apply to lan743x driver, and other
drivers in the group already state their dependence on SPI.
Bryan Whitehead (1):
lan743x: Remove SPI dependency from Microchip group.
drivers/net/ethernet/microchip/Kconfig | 1 -
1 file changed, 1 deletion(-)
--
2.7.4
This driver was designed to work with both LAN7430 and LAN7431.
The only difference between the two is the LAN7431 has support
for external phy.
This change adds LAN7431 to the list of recognized devices
supported by this driver.
fixes: driver won't load for LAN7431
Signed-off-by: Bryan
panic under heavy traffic load.
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_main.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/microchip/lan743x_main.c
b/drivers/net/ethernet/microchip/lan743x_main.c
index 867cddb
It has been noticed that under stress the lan743x driver will
sometimes hang or cause a kernel panic. It has been noticed
that returning '0' instead of 'weight' fixes this issue.
fixes: rare kernel panic under heavy traffic load.
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip
for
registration of tx napi poll routine
fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_main.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/d
fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Bryan Whitehead
---
drivers/net/ethernet/microchip/lan743x_main.c | 1 +
drivers/net/ethernet/microchip/lan743x_main.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/ethernet
59 matches
Mail list logo