[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100121.224748.251929245.davem@davemloft.net>
Date: Thu, 21 Jan 2010 22:47:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kristoffer@...sler.com
Cc: netdev@...r.kernel.org, bhutchings@...arflare.com
Subject: Re: [PATCH 1/1 V2] net: Add Aeroflex Gaisler 10/100/1G Ethernet
MAC driver
From: Kristoffer Glembo <kristoffer@...sler.com>
Date: Mon, 18 Jan 2010 16:07:57 +0100
> +#undef DEBUG_TX_PACKETS
> +#undef DEBUG_RX_PACKETS
There is an existing facility for doing run-time debug
enabling for things like this.
So instead of this ifdef mess, make use of netdev->msg_enable
to control various types of debugging messages.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists