aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/port.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-11-04 03:23:27 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-04 14:39:58 -0400
commite28def33291c2b1e3a53da2dddd46a04f9f985ab (patch)
treed1ad9dbee3a9fbc8c0f09d768eaa0766ccb5d305 /drivers/net/dsa/mv88e6xxx/port.h
parentnet: dsa: mv88e6xxx: add port files (diff)
downloadlinux-dev-e28def33291c2b1e3a53da2dddd46a04f9f985ab.tar.xz
linux-dev-e28def33291c2b1e3a53da2dddd46a04f9f985ab.zip
net: dsa: mv88e6xxx: add port state setter
Add the port STP state setter to the port files. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/dsa/mv88e6xxx/port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/port.h b/drivers/net/dsa/mv88e6xxx/port.h
index ae1ae2b501b6..ac13988fc79a 100644
--- a/drivers/net/dsa/mv88e6xxx/port.h
+++ b/drivers/net/dsa/mv88e6xxx/port.h
@@ -21,4 +21,6 @@ int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg,
int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg,
u16 val);
+int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, int port, u8 state);
+
#endif /* _MV88E6XXX_PORT_H */