OpenCloudOS-Kernel/drivers/net/stmmac
Alexey Dobriyan b7f080cfe2 net: remove mm.h inclusion from netdevice.h
Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).

To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
Removal of mm.h from scatterlist.h was tried and was found not feasible
on most archs, so the link was cutoff earlier.

Hope people are OK with tiny include file.

Note, that mm_types.h is still dragged in, but it is a separate story.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-21 19:17:20 -07:00
..
Kconfig drivers/net/stmmac/: add HAS_IOMEM dependency 2010-10-06 23:42:43 -07:00
Makefile stmmac: rework normal and enhanced descriptors 2010-04-14 04:49:50 -07:00
common.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
descs.h stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
dwmac100.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100_core.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac100_dma.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac1000.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_core.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac1000_dma.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
dwmac_dma.h stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac_lib.c stmmac: fixed dma lib build when turn-on the debug option 2011-04-11 12:55:47 -07:00
enh_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
norm_desc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stmmac.h net/stmmac: Move "#include <linux/platform_device.h>" to linux/stmmac.h 2011-05-03 16:09:40 -07:00
stmmac_ethtool.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
stmmac_main.c stmmac: fix race in transmit time stamping. 2011-06-19 16:35:30 -07:00
stmmac_mdio.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
stmmac_timer.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00