diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-02-04 19:02:03 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 11:06:23 -0500 |
commit | 5b2b4ff05593bc35c90dac84ecb82cb7501ecd07 (patch) | |
tree | 4faf39b5546825c2676fd06db839bdadbf808cff /drivers/net/Kconfig | |
parent | a76836f95d285edcbdcddde5dfaca56e2030f2f5 (diff) |
DM9000 update debugging macros to use debug level
Change the debug macros to use the compiler to elide any
unnecessary debug level, and to allow device configurable
debug control.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 37f8e4790b68..f337800076c0 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -931,6 +931,14 @@ config ENC28J60_WRITEVERIFY | |||
931 | Enable the verify after the buffer write useful for debugging purpose. | 931 | Enable the verify after the buffer write useful for debugging purpose. |
932 | If unsure, say N. | 932 | If unsure, say N. |
933 | 933 | ||
934 | config DM9000_DEBUGLEVEL | ||
935 | int "DM9000 maximum debug level" | ||
936 | depends on DM9000 | ||
937 | default 4 | ||
938 | help | ||
939 | The maximum level of debugging code compiled into the DM9000 | ||
940 | driver. | ||
941 | |||
934 | config SMC911X | 942 | config SMC911X |
935 | tristate "SMSC LAN911[5678] support" | 943 | tristate "SMSC LAN911[5678] support" |
936 | select CRC32 | 944 | select CRC32 |