]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-refactoring-set-1'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 22:15:24 +0000 (18:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 22:15:24 +0000 (18:15 -0400)
commitb10081c09e7f0647fb0753ac592b722e24a179cc
tree502d26a5f6e655a657f4280b98ac257d83adeaf4
parenta5c75d00a2e1afb7fcf062d6e043d3079772e94f
parentdf35be3fcff7a821006502923530660c7a9bff58
Merge branch 'dsa-refactoring-set-1'

Andrew Lunn says:

====================
DSA refactoring: set 1

There has been a long running effort to refractor DSA probing to make
the switches true linux devices. Here are a small collection of
patches moving in this direction. Most have been seen before.

We take a little step forward by passing the dsa device point to the
driver, thus allowing it to perform resource allocations using the
normal mechanisms. This device structure will later be replaced by the
devices own device structure.

Future patches will add a true driver probe function, so we rename the
current probe function, cleaning up the namespace.

phys_port_mask continually confuses me, thinking it is about PHYs. But
it is actually about ports enabled to the outside world. So rename it to
enabled_port_mask.

Lots more patches yet to follow, this is just doing some ground work.

v2:
  enabled_port_mask instread of user_port_masks
  Added Tested-by's and Reviewed-by.
====================

Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>