]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-mv88e6xxx-g2-cleanup-stp'
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 02:42:02 +0000 (19:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 02:42:02 +0000 (19:42 -0700)
commitb999d7f517ff119cfc64aa376ce616f0eef80313
tree25edd602c203442ec3fe5f74cb290b692742149f
parentc094a514a3bc2e00a5d2092612abb59291e3cda4
parentb4287a363990edd05f06d1a3a11eb49bc9593bb5
Merge branch 'dsa-mv88e6xxx-g2-cleanup-stp'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: Global2 cleanup and STP

The Marvell switches registers are organized in distinct internal SMI
devices, such as PHY, Port, Global 1 or Global 2 registers sets.

Since not all chips support every registers sets or have slightly
differences in them (such as old 88E6060 or new 88E6390 likely to be
supported soon), make the setup code clearer now by removing a few
family checks and adding flags to describe the Global 2 registers map.

This patchset enables basic STP support and bridging on most chips when
getting rid of a few inconsistencies in chip descriptions (patch 1) and
add bridge Ageing Time support to DSA and the mv88e6xxx driver.

Changes v2 -> v3:
  - rename mv88e6xxx_update_write to mv88e6xxx_update
  - set fastest ageing time in use in the chip for multiple bridges,
    tested with a few printk

Changes v1 -> v2:
  - add a write helper for pointer-data Update registers
  - add ageing time support
====================

Signed-off-by: David S. Miller <davem@davemloft.net>