net: dsa: mv88e6xxx: prefix remaining port macros
For implicit namespacing and clarity, prefix the remaining common Port Registers macros with MV88E6XXX_PORT. Document the register and prefer ordered hex masks values for all Marvell 16-bit registers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8009df9e70
commit
b81095947e
@@ -1729,14 +1729,14 @@ static int mv88e6xxx_set_port_mode_normal(struct mv88e6xxx_chip *chip, int port)
|
||||
{
|
||||
return mv88e6xxx_set_port_mode(chip, port, MV88E6XXX_FRAME_MODE_NORMAL,
|
||||
MV88E6XXX_EGRESS_MODE_UNMODIFIED,
|
||||
PORT_ETH_TYPE_DEFAULT);
|
||||
MV88E6XXX_PORT_ETH_TYPE_DEFAULT);
|
||||
}
|
||||
|
||||
static int mv88e6xxx_set_port_mode_dsa(struct mv88e6xxx_chip *chip, int port)
|
||||
{
|
||||
return mv88e6xxx_set_port_mode(chip, port, MV88E6XXX_FRAME_MODE_DSA,
|
||||
MV88E6XXX_EGRESS_MODE_UNMODIFIED,
|
||||
PORT_ETH_TYPE_DEFAULT);
|
||||
MV88E6XXX_PORT_ETH_TYPE_DEFAULT);
|
||||
}
|
||||
|
||||
static int mv88e6xxx_set_port_mode_edsa(struct mv88e6xxx_chip *chip, int port)
|
||||
|
Reference in New Issue
Block a user