]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: extract device mapping
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 19 Jul 2016 00:45:31 +0000 (20:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 02:42:00 +0000 (19:42 -0700)
commita77a07e33caec8d558fcc86e3f81a4b8cdd96a3d
treee45f7d05563efb2bdf534986c65fe59c3a524b7a
parent5b76b3bd3bd1bade56dd8df91f1b6cf54f939b81
net: dsa: mv88e6xxx: extract device mapping

The Device Mapping register is an indirect table access.

Provide helpers to access this table and explicit the checking of the
new DSA_RTABLE_NONE routing table value.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c