Message ID | alpine.DEB.2.11.1607190933590.19980@marmot.wormnet.eu (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
> However, the ethertype is reflecting the port:- > > lan1/5 : ethertype Unknown (0xc028), length 176: > lan2/7 : ethertype Unknown (0xc038), length 176: > lan3/0 : ethertype Unknown (0xc000), length 176: > lan4/1 : ethertype Unknown (0xc008), length 176: > wan/2 : ethertype Unknown (0xc010), length 176: > > My other one of these routers, running OpenWRT / Linux 3.3.8, shows > the same ethertypes, which suggests that the switch is still in DSA > tagging mode. I'll poke around further and see what I find. O.K. With this wrong, nothing is going to work. I will check that the 6131 actually supports EDSA! Andrew
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 5cb06f7..c46ac54 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -3387,6 +3387,10 @@ static void mv88e6xxx_mdio_unregister(struct mv88e6xxx_chip *chip) { struct mii_bus *bus = chip->mdio_bus; + /* Stop any timers attempting to re-activate the PPU */ + del_timer(&chip->ppu_timer); + usleep_range(1000, 2000); + mdiobus_unregister(bus); if (chip->mdio_np)