linux/drivers/net/dsa
Arınç ÜNAL 883ea1c0ed net: dsa: mt7530: refactor MT7530_PMCR_P()
The MT7530_PMCR_P() registers are on MT7530, MT7531, and the switch on the
MT7988 SoC. Rename the definition for them to MT753X_PMCR_P(). Bit 15 is
for MT7530 only. Add MT7530 prefix to the definition for bit 15.

Use GENMASK and FIELD_PREP for PMCR_IFG_XMIT().

Rename PMCR_TX_EN and PMCR_RX_EN to PMCR_MAC_TX_EN and PMCR_MAC_TX_EN to
follow the naming on the "MT7621 Giga Switch Programming Guide v0.3",
"MT7531 Reference Manual for Development Board v1.0", and "MT7988A Wi-Fi 7
Generation Router Platform: Datasheet (Open Version) v0.1" documents.

These documents show that PMCR_RX_FC_EN is at bit 5. Correct this along
with renaming it to PMCR_FORCE_RX_FC_EN, and the same for PMCR_TX_FC_EN.

Remove PMCR_SPEED_MASK which doesn't have a use.

Rename the force mode definitions for MT7531 to FORCE_MODE. Add MASK at the
end for the mask that includes all force mode definitions.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-24 11:57:02 +01:00
..
b53 net: dsa: b53: unexport and move b53_eee_enable_set() 2024-02-08 19:03:46 -08:00
hirschmann net: dsa: hellcreek: Convert to gettimex64() 2024-03-29 10:44:17 +00:00
microchip net: dsa: microchip: drop unneeded MODULE_ALIAS 2024-04-16 17:13:15 -07:00
mv88e6xxx net: dsa: mv88e6xxx: provide own phylink MAC operations 2024-04-11 20:01:14 -07:00
ocelot net: dsa: felix: flower: validate control flags 2024-04-18 17:08:30 -07:00
qca net: dsa: qca8k: provide own phylink MAC operations 2024-04-16 10:23:38 +02:00
realtek net: dsa: realtek: support reset controller 2024-02-28 08:21:41 +00:00
sja1105 net: dsa: sja1105: flower: validate control flags 2024-04-18 17:08:37 -07:00
xrs700x net: dsa: xrs700x: fix missing initialisation of ds->phylink_mac_ops 2024-04-19 12:11:17 +01:00
bcm_sf2.c net: dsa: bcm_sf2: provide own phylink MAC operations 2024-04-17 18:27:42 -07:00
bcm_sf2.h net: dsa: bcm_sf2: drop priv->master_mii_dn 2024-01-05 11:56:36 +00:00
bcm_sf2_cfp.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
bcm_sf2_regs.h
dsa_loop.c net: dsa: dsa_loop: add phylink capabilities 2023-10-11 10:06:05 +01:00
dsa_loop.h
dsa_loop_bdinfo.c net: fill in MODULE_DESCRIPTION()s for dsa_loop_bdinfo 2024-02-09 14:12:02 -08:00
Kconfig net: dsa: mt7530: select MEDIATEK_GE_PHY for NET_DSA_MT7530_MDIO 2024-01-26 20:31:52 -08:00
lan9303-core.c net: dsa: lan9303: provide own phylink MAC operations 2024-04-17 18:28:51 -07:00
lan9303.h
lan9303_i2c.c net: dsa: Switch i2c drivers back to use .probe() 2023-05-31 09:52:55 +01:00
lan9303_mdio.c net: dsa: lan9303: consequently nested-lock physical MDIO 2023-11-02 10:48:09 +01:00
lantiq_gswip.c net: dsa: lantiq_gswip: provide own phylink MAC operations 2024-04-16 10:23:51 +02:00
lantiq_pce.h
Makefile net: dsa: mt7530: introduce driver for MT7988 built-in switch 2023-04-03 10:13:01 +01:00
mt7530-mdio.c net: dsa: mt7530-mdio: read PHY address of switch from device tree 2024-04-23 10:32:40 +02:00
mt7530-mmio.c net: dsa: mt7530: Convert to platform remove callback returning void 2023-09-20 10:25:57 +01:00
mt7530.c net: dsa: mt7530: refactor MT7530_PMCR_P() 2024-04-24 11:57:02 +01:00
mt7530.h net: dsa: mt7530: refactor MT7530_PMCR_P() 2024-04-24 11:57:02 +01:00
mv88e6060.c net: dsa: mv88e6060: add phylink_get_caps implementation 2023-08-14 18:57:17 -07:00
mv88e6060.h
rzn1_a5psw.c net: dsa: rzn1_a5psw: provide own phylink MAC operations 2024-04-17 18:29:30 -07:00
rzn1_a5psw.h net: dsa: rzn1-a5psw: add vlan support 2023-08-11 11:58:36 +01:00
vitesse-vsc73xx-core.c net: dsa: vsc73xx: Add define for max num of ports 2024-04-22 14:21:32 -07:00
vitesse-vsc73xx-platform.c net: dsa: vitesse-vsc73xx: Convert to platform remove callback returning void 2023-09-20 10:25:58 +01:00
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h net: dsa: vsc73xx: add structure descriptions 2024-04-22 14:21:32 -07:00