Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610Ab0BWMxV (ORCPT ); Tue, 23 Feb 2010 07:53:21 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:34779 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412Ab0BWMxT (ORCPT ); Tue, 23 Feb 2010 07:53:19 -0500 X-Sasl-enc: ev7ercqE3ubFHrBCRSdkF614sXhorqYL3mdX0jc0YDBw 1266929598 Message-ID: <4B83CFBC.5030406@imap.cc> Date: Tue, 23 Feb 2010 13:53:16 +0100 From: Tilman Schmidt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Joe Perches CC: Karsten Keil , David Miller , Hansjoerg Lipp , Karsten Keil , isdn4linux@listserv.isdn4linux.de, i4ldeveloper@listserv.isdn4linux.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] gigaset: reduce syslog clutter References: <1266899531.9265.4.camel@Joe-Laptop.home> In-Reply-To: <1266899531.9265.4.camel@Joe-Laptop.home> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1365 Lines: 29 Joe Perches schrieb: > Perhaps it'd be useful to add a ethtool/netif_msg interface > and classify the messages as appropriate. Interesting idea. On first glance, however, I don't see how to map the Gigaset driver's diverse debugging categories (like USB communication vs. V.25ter communication vs. ISDN subsystem communication) to the NETIF_MSG_ flags in a useful way. What's more, ethtool only seems to allow the setting of a numerical message "level" enabling all debug flags "below" that level. It cannot enable, for example, NETIF_MSG_TX_ERR without NETIF_MSG_PROBE. The Gigaset driver OTOH follows the concept of individually selectable areas of interest. In fact, I make frequent use of that ability when I help a user with troubleshooting. For example, a typical first setting for a user who cannot make an ISDN connection would be the value 0x102020 mentioned in the README. OTOH, the ability to control the "non-debug" verbosity of the Gigaset driver (ie. the messages not controlled by the "debug" parameter) with ethtool/netif_msg might be appreciated. Perhaps that's what you had in mind? Thanks, Tilman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/