Skip to contentSkip to conversation

Fix support for the MV88E6097

PATCH In review Stefan Eichenberger 3 participants 5 messages Nov 25, 2016 – Nov 28, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Fix support for the MV88E6097

This patchset fixes the following two issues for the MV88E6097:
- Add missing definition of g1_irqs
- Add missing comment

Stefan Eichenberger (2):
net: dsa: mv88e6xxx: add g1_irqs definition for MV88E6097
net: dsa: mv88e6xxx: add missing comment for MV88E6097

 drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/2 net: dsa: mv88e6xxx: add g1_irqs definition for MV88E6097

Add the missing definition of g1_irqs for MV88E6097.

---
 drivers/net/dsa/mv88e6xxx/chip.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/dsa/mv88e6xxx/chip.c +1 -0
index b14b3d5..7002d0f 100644
@@ -3602,6 +3602,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
 		.port_base_addr = 0x10,
 		.global1_addr = 0x1b,
 		.age_time_coeff = 15000,
+		.g1_irqs = 8,
 		.flags = MV88E6XXX_FLAGS_FAMILY_6097,
 		.ops = &mv88e6097_ops,
 	},
Signature · 1 line
2.9.3
#2 lore raw

PATCH 2/2 net: dsa: mv88e6xxx: add missing comment for MV88E6097

In reply to Stefan Eichenberger

Add a missing comment for the MV88E6097 because of unification.

---
 drivers/net/dsa/mv88e6xxx/chip.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/dsa/mv88e6xxx/chip.c +1 -0
index 7002d0f..68eb8fc 100644
@@ -3210,6 +3210,7 @@ static const struct mv88e6xxx_ops mv88e6095_ops = {
 };
 
 static const struct mv88e6xxx_ops mv88e6097_ops = {
+	/* MV88E6XXX_FAMILY_6097 */
 	.set_switch_mac = mv88e6xxx_g2_set_switch_mac,
 	.phy_read = mv88e6xxx_g2_smi_phy_read,
 	.phy_write = mv88e6xxx_g2_smi_phy_write,
Signature · 1 line
2.9.3
maintainer Reviewed-by on the v1 series
#3 lore raw
In reply to Stefan Eichenberger
Quoted 10 lines · Stefan Eichenberger

This patchset fixes the following two issues for the MV88E6097:
- Add missing definition of g1_irqs
- Add missing comment

Stefan Eichenberger (2):
net: dsa: mv88e6xxx: add g1_irqs definition for MV88E6097
net: dsa: mv88e6xxx: add missing comment for MV88E6097

 drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
 1 file changed, 2 insertions(+)

Hi Stefan

Thanks for the delta patches.

Andrew