]> 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)
commit5399bec53933eb69aa7a396870c5106bc27faa6f
tree1ccbaf7b6fa0a4549e531bacdbc101d1e60043b8
parenta2832946b764fe67efa13377c93c8d8c0cbae182
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