OSDN Git Service

net: dsa: mv88e6xxx: Decode VTU problem interrupt
authorAndrew Lunn <andrew@lunn.ch>
Sun, 14 Jan 2018 01:32:45 +0000 (02:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jan 2018 17:08:45 +0000 (12:08 -0500)
commit62eb1162ec3a65f12d0e0c383f4f57de814a5e51
tree12d45f39ed5dd01bba2332c61571b7bfa944f2c9
parent0977644c5005ca2d186b353d7236deca6aa2933e
net: dsa: mv88e6xxx: Decode VTU problem interrupt

When there is a problem with the VTU, an interrupt can be
generated. Trap this interrupt and decode the registers to determine
what the problem was, then log the error.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/global1_vtu.c