OSDN Git Service

Merge branch 'add-phy-shared-storage'
authorDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:53:30 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:53:30 +0000 (14:53 -0700)
commita7defa758dfce680d3a33d64598715589c00cb5f
tree7bec2db6a012be52e301fb8320d5131ed0c0493b
parent857b412511c87ed7137e63b90b2de020c24660e9
parentdeb04e9c0ff2b42cadf198c3204b13025c9bd72e
Merge branch 'add-phy-shared-storage'

Michael Walle says:

====================
add phy shared storage

Introduce the concept of a shared PHY storage which can be used by some
QSGMII PHYs to ease initialization and access to global per-package
registers.

Changes since v2:
 - restore page to standard after reading the base address in the mscc
   driver, thanks Antoine.

Changes since v1:
 - fix typos and add a comment, thanks Florian.
 - check for "addr < 0" in phy_package_join()
 - remove multiple blank lines and make "checkpatch.pl --strict" happy

Changes since RFC:
 - check return code of kzalloc()
 - fix local variable ordering (reverse christmas tree)
 - add priv_size argument to phy_package_join()
 - add Tested-by tag, thanks Vladimir.
====================

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