]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stmmac-cleanup'
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:58 +0000 (20:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:58 +0000 (20:45 -0700)
commit3932e40b7365995312312faf277465675e717562
treef21c0cbf821d566dfb116af722cac58366ba61e8
parenta6eb0cb1b60f50c7d8a0c1586efbeda48a302594
parent01ecced839ff8f3af0b42177cfefb1f0ad9631ce
Merge branch 'stmmac-cleanup'

Joachim Eastwood says:

====================
stmmac clean up for 4.3 part1

This patch set continues the conversion of the dwmac glue layers
to more proper platform drivers. The first part of the patch set
cleans up stmmac_platform a bit. Refactors code from the common
probe function and exports two functions that will be used in
the dwmac-* drivers.

Second part converts two simple dwmac-* drivers to have their
own probe function and use the exported functions. This brings
us closer to point where stmmac_platform is only a library of
common functions for the dwmac-* drivers to use.

The plan next is:
 * add probe functions to the rest of the dwmac-* drivers
 * move probe function in stmmac_platform to dwmac-generic
 * remove struct stmmac_of_data and let those drivers
   that actually need match data handle it themselves
 * clean up include/linux/stmmac.h

Note that this patch set has only been tested on lpc18xx so
testing on other platforms is greatly appreciated.

Previous parts can be found here:
http://www.spinics.net/lists/netdev/msg328997.html
http://www.spinics.net/lists/netdev/msg329932.html
====================

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