]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/net/dsa/mv88e6xxx/port.c
net: dsa: mv88e6xxx: prefix Port MAC Control macros
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 12 Jun 2017 16:37:34 +0000 (12:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2017 15:23:09 +0000 (11:23 -0400)
commit5ee55577cfe4a3ef6ae34d804806b1c6c9ae159a
tree882f899f99a53b8b0f2e125ce1558b7954c04455
parent5f83dc93b242e16bf45bbea785ace4268828ce01
net: dsa: mv88e6xxx: prefix Port MAC Control macros

For implicit namespacing and clarity, prefix the common MAC Control
Register macros with MV88E6XXX_PORT_MAC_CTL and the ones which differ
between implementations with a chosen reference model
(e.g. MV88E6065_PORT_MAC_CTL_SPEED_200.)

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>
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h