]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: split to core library and probe drivers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Nov 2014 10:38:59 +0000 (12:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2014 19:34:39 +0000 (14:34 -0500)
commite2d9e0cb48bc50e1cf9b3058a42b7105a9fb907e
tree1ccbaf7b6fa0a4549e531bacdbc101d1e60043b8
parentb1511b48960842ea89a682928d996a379d01886f
stmmac: split to core library and probe drivers

Instead of registering the platform and PCI drivers in one module let's move
necessary bits to where it belongs. During this procedure we convert the module
registration part to use module_*_driver() macros which makes code simplier.

>From now on the driver consists three parts: core library, PCI, and platform
drivers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c