diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-09 00:34:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-09 18:10:57 +0200 |
commit | 31bef4e90cf761eaa16298461bcb4c101044baea (patch) | |
tree | 0d981c8dc1ae563e224bb303148a69df6074e309 /drivers/net/dsa/mv88e6xxx/port.h | |
parent | net: dsa: mv888e6xxx: do not use netdev printing (diff) | |
download | linux-31bef4e90cf761eaa16298461bcb4c101044baea.tar.xz linux-31bef4e90cf761eaa16298461bcb4c101044baea.zip |
net: dsa: mv88e6xxx: add egress mode enumeration
As for the frame mode, add a mv88e6xxx_egress_mode enumeration instead
of a 16-bit register mask.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/port.h b/drivers/net/dsa/mv88e6xxx/port.h index 4f5e1ccfadc6..1de200074e21 100644 --- a/drivers/net/dsa/mv88e6xxx/port.h +++ b/drivers/net/dsa/mv88e6xxx/port.h @@ -212,7 +212,7 @@ int mv88e6xxx_port_set_8021q_mode(struct mv88e6xxx_chip *chip, int port, int mv88e6095_port_tag_remap(struct mv88e6xxx_chip *chip, int port); int mv88e6390_port_tag_remap(struct mv88e6xxx_chip *chip, int port); int mv88e6xxx_port_set_egress_mode(struct mv88e6xxx_chip *chip, int port, - u16 mode); + enum mv88e6xxx_egress_mode mode); int mv88e6085_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port, enum mv88e6xxx_frame_mode mode); int mv88e6351_port_set_frame_mode(struct mv88e6xxx_chip *chip, int port, |