linux/drivers/net/ethernet/sfc
Ben Hutchings 5f3f9d6c44 sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG
The netif_dbg() macro is defined in <linux/netdevice.h>.  If the DEBUG
macro is defined, it logs a message at 'debug' level, otherwise it
does nothing.

In net_driver.h we define DEBUG if EFX_ENABLE_DEBUG is defined, but
this is too late for those source files that already got a
definition of netif_dbg() by including <linux/netdevice.h>

Get rid of EFX_ENABLE_DEBUG, and only define and test DEBUG.

In mtd.c, we do not use DEBUG as a condition flag but are forced to
use the DEBUG macro-function from <linux/mtd/mtd.h>.  Undefine DEBUG
before including it.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2012-01-27 00:10:48 +00:00
..
bitfield.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
efx.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
efx.h sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
enum.h
ethtool.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon_boards.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
falcon_xmac.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
filter.c sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
filter.h sfc: Add support for retrieving and removing filters by ID 2012-01-04 14:10:00 -05:00
io.h
Kconfig
Makefile
mcdi_mac.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
mcdi_pcol.h sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi_phy.c sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi.c sfc: Use new names for MC shared memory layout constants 2012-01-27 00:10:44 +00:00
mcdi.h sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
mdio_10g.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
mdio_10g.h
mtd.c sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
net_driver.h sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
nic.c sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
nic.h sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
phy.h
qt202x_phy.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
regs.h
rx.c sfc: Remove parentheses around return expressions, reported by checkpatch 2012-01-05 18:54:04 +00:00
selftest.c sfc: Consistently test DEBUG macro, not EFX_ENABLE_DEBUG 2012-01-27 00:10:48 +00:00
selftest.h
siena.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
spi.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tenxpress.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
workarounds.h