diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-11-04 03:23:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 14:39:58 -0400 |
commit | e28def33291c2b1e3a53da2dddd46a04f9f985ab (patch) | |
tree | d1ad9dbee3a9fbc8c0f09d768eaa0766ccb5d305 /drivers/net/dsa/mv88e6xxx/port.h | |
parent | net: dsa: mv88e6xxx: add port files (diff) | |
download | linux-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.h | 2 |
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 */ |