summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mv88e6xxx/chip.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-01-14 04:32:45 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-14 20:08:45 +0300
commit62eb1162ec3a65f12d0e0c383f4f57de814a5e51 (patch)
tree12d45f39ed5dd01bba2332c61571b7bfa944f2c9 /drivers/net/dsa/mv88e6xxx/chip.h
parent0977644c5005ca2d186b353d7236deca6aa2933e (diff)
downloadlinux-62eb1162ec3a65f12d0e0c383f4f57de814a5e51.tar.xz
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>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.h b/drivers/net/dsa/mv88e6xxx/chip.h
index 4dc4a11c6e16..3dba6e90adcf 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.h
+++ b/drivers/net/dsa/mv88e6xxx/chip.h
@@ -208,6 +208,7 @@ struct mv88e6xxx_chip {
int device_irq;
int watchdog_irq;
int atu_prob_irq;
+ int vtu_prob_irq;
};
struct mv88e6xxx_bus_ops {