linux_dsm_epyc7002/drivers/net/dsa
Vivien Didelot a935c0523c net: dsa: mv88e6xxx: add global1 helpers
The Global (1) internal SMI device is an extended set of registers
containing ATU, PPU, VTU, STU, etc.

It is present on every switches, usually at SMI address 0x1B. But old
models such as 88E6060 access it at address 0xF, thus using REG_GLOBAL
is erroneous.

Add a global1_addr info member used by mv88e6xxx_g1_{read,write} and
mv88e6xxx_g1_wait helpers in a new global1.c file.

This patch finally removes _mv88e6xxx_reg_{read,write}, in favor on the
appropriate helpers. No functional changes here.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-30 01:25:59 -04:00
..
b53 net: dsa: b53: implement DSA port fast ageing 2016-09-23 08:38:50 -04:00
mv88e6xxx net: dsa: mv88e6xxx: add global1 helpers 2016-09-30 01:25:59 -04:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Remove duplicate code 2016-08-26 13:15:48 -07:00
bcm_sf2.c net: dsa: bcm_sf2: Fix non static symbol warning 2016-09-16 04:25:50 -04:00
bcm_sf2.h net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device 2016-09-11 19:37:02 -07:00
Kconfig net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
Makefile net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
mv88e6060.c net: dsa: remove ds_to_priv 2016-09-01 22:51:12 -07:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: qca8k: use mdio_module_driver to simplify the code 2016-09-22 03:17:34 -04:00
qca8k.h net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00