linux/drivers/net/bnx2x
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
..
Makefile bnx2x: Created bnx2x_sp 2011-06-15 10:56:15 -04:00
bnx2x.h net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
bnx2x_cmn.c bnx2x: Add a periodic task for link PHY events 2011-06-15 10:56:58 -04:00
bnx2x_cmn.h bnx2x: 57712 parity handling 2011-06-15 10:56:55 -04:00
bnx2x_dcb.c bnx2x: PFC support for 578xx 2011-06-15 10:56:59 -04:00
bnx2x_dcb.h bnx2x: PFC support for 578xx 2011-06-15 10:56:59 -04:00
bnx2x_dump.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_ethtool.c bnx2x: Cosmetic changes. 2011-06-15 10:56:56 -04:00
bnx2x_fw_defs.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_fw_file_hdr.h bnx2x: update year to 2011 and version to 1.62.12-0 2011-05-05 10:44:35 -07:00
bnx2x_hsi.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_init.h bnx2x: 57712 parity handling 2011-06-15 10:56:55 -04:00
bnx2x_init_ops.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_link.c bnx2x: Rename LASI registers to definitions in mdio.h 2011-06-15 10:56:59 -04:00
bnx2x_link.h bnx2x: Add a periodic task for link PHY events 2011-06-15 10:56:58 -04:00
bnx2x_main.c bnx2x: Add a periodic task for link PHY events 2011-06-15 10:56:58 -04:00
bnx2x_reg.h bnx2x: Rename LASI registers to definitions in mdio.h 2011-06-15 10:56:59 -04:00
bnx2x_sp.c New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_sp.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_stats.c New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2x_stats.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00