[OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

Claudio Leite leitec at staticky.com
Fri Dec 19 14:21:41 EST 2014


The '6171 and '6172 are similar enough to work
without any changes to the code.

Signed-off-by: Claudio Leite <leitec at staticky.com>
---
 target/linux/generic/files/drivers/net/phy/mvsw6171.h    | 2 +-
 target/linux/generic/patches-3.14/733-phy_mvsw6171.patch | 2 +-
 target/linux/generic/patches-3.18/733-phy_mvsw6171.patch | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/generic/files/drivers/net/phy/mvsw6171.h b/target/linux/generic/files/drivers/net/phy/mvsw6171.h
index 2b9ef97..38442c1 100644
--- a/target/linux/generic/files/drivers/net/phy/mvsw6171.h
+++ b/target/linux/generic/files/drivers/net/phy/mvsw6171.h
@@ -192,7 +192,7 @@ enum {
 
 #define MV_IDENT_MASK			0xffc0
 #define MV_IDENT_VALUE			0x1700
-#define MV_IDENT_STR			"MV88E6171"
+#define MV_IDENT_STR			"MV88E617x"
 
 #define MV_PVID_MASK			0x0fff
 
diff --git a/target/linux/generic/patches-3.14/733-phy_mvsw6171.patch b/target/linux/generic/patches-3.14/733-phy_mvsw6171.patch
index 991828d..b6fbb1c 100644
--- a/target/linux/generic/patches-3.14/733-phy_mvsw6171.patch
+++ b/target/linux/generic/patches-3.14/733-phy_mvsw6171.patch
@@ -5,7 +5,7 @@
  	select ETHERNET_PACKET_MANGLE
  
 +config MVSW6171_PHY
-+	tristate "Driver for Marvell 88E6171 switches"
++	tristate "Driver for Marvell 88E6171/6172 switches"
 +	select SWCONFIG
 +
  config IP17XX_PHY
diff --git a/target/linux/generic/patches-3.18/733-phy_mvsw6171.patch b/target/linux/generic/patches-3.18/733-phy_mvsw6171.patch
index 2911647..0df13fe 100644
--- a/target/linux/generic/patches-3.18/733-phy_mvsw6171.patch
+++ b/target/linux/generic/patches-3.18/733-phy_mvsw6171.patch
@@ -5,7 +5,7 @@
  	select ETHERNET_PACKET_MANGLE
  
 +config MVSW6171_PHY
-+	tristate "Driver for Marvell 88E6171 switches"
++	tristate "Driver for Marvell 88E6171/6172 switches"
 +	select SWCONFIG
 +
  config IP17XX_PHY
-- 
2.2.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list