diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-11-04 05:23:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 21:39:59 +0300 |
commit | b4e48c500eb80120df1a4259a04b131e71c5ca62 (patch) | |
tree | 8da8908de9ab9ff5016e7ad04ab8d387444dbefa /drivers/net/dsa/mv88e6xxx/port.h | |
parent | 5a7921f46df2aded2c3e49b3e2104a0d1041dea4 (diff) | |
download | linux-b4e48c500eb80120df1a4259a04b131e71c5ca62.tar.xz |
net: dsa: mv88e6xxx: add port FID accessors
Add functions to port files to access the ports default FID.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/port.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/port.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/port.h b/drivers/net/dsa/mv88e6xxx/port.h index 037d6384b3aa..0df29b957811 100644 --- a/drivers/net/dsa/mv88e6xxx/port.h +++ b/drivers/net/dsa/mv88e6xxx/port.h @@ -25,4 +25,7 @@ int mv88e6xxx_port_set_state(struct mv88e6xxx_chip *chip, int port, u8 state); int mv88e6xxx_port_set_vlan_map(struct mv88e6xxx_chip *chip, int port, u16 map); +int mv88e6xxx_port_get_fid(struct mv88e6xxx_chip *chip, int port, u16 *fid); +int mv88e6xxx_port_set_fid(struct mv88e6xxx_chip *chip, int port, u16 fid); + #endif /* _MV88E6XXX_PORT_H */ |