Skip to contentSkip to conversation

lan743x: Enable driver to work with LAN7431

PATCH Applied Bryan Whitehead 2 participants 2 messages Nov 27, 2018 – Nov 28, 2018

Subsystems (3)
lore
Share & tools
lore

Bryan Whitehead

author maintainer
#0 lore raw

PATCH v2 1/1 lan743x: Enable driver to work with LAN7431

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.

Updates for v2:
changed 'fixes' tag to match defined format

Fixes 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
---
 drivers/net/ethernet/microchip/lan743x_main.c | 1 +
 drivers/net/ethernet/microchip/lan743x_main.h | 1 +
 2 files changed, 2 insertions(+)
drivers/net/ethernet/microchip/lan743x_main.c +1 -0
index 867cddb..e2f1531 100644
@@ -3017,6 +3017,7 @@ static const struct dev_pm_ops lan743x_pm_ops = {
 
 static const struct pci_device_id lan743x_pcidev_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_SMSC, PCI_DEVICE_ID_SMSC_LAN7430) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_SMSC, PCI_DEVICE_ID_SMSC_LAN7431) },
 	{ 0, }
 };
 
drivers/net/ethernet/microchip/lan743x_main.h +1 -0
index 0e82b63..2d6eea1 100644
@@ -548,6 +548,7 @@ struct lan743x_adapter;
 /* SMSC acquired EFAR late 1990's, MCHP acquired SMSC 2012 */
 #define PCI_VENDOR_ID_SMSC		PCI_VENDOR_ID_EFAR
 #define PCI_DEVICE_ID_SMSC_LAN7430	(0x7430)
+#define PCI_DEVICE_ID_SMSC_LAN7431	(0x7431)
 
 #define PCI_CONFIG_LENGTH		(0x1000)
 
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw

From: Bryan Whitehead <[email protected]>
Date: Mon, 26 Nov 2018 12:27:10 -0500

Quoted 4 lines

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.

Quoted 8 lines

This change adds LAN7431 to the list of recognized devices supported by this driver.

Updates for v2:
changed 'fixes' tag to match defined format

Fixes 23f0703c125b ("lan743x: Add main source files for new lan743x driver")

Applied.