lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net v4 02/13] net/8390: Fix msg_enable patch snafu
From
From: Finn Thain <fthain@telegraphics.com.au>
Date: Thu, 15 Feb 2018 09:11:13 +1100 (AEDT)

> On Tue, 13 Feb 2018, David Miller wrote:
>
>> > I think you have overlooked those modules which offer no way to set
>> > p->msg_enable, i.e. ax88796, axnet_cs, etherh, hydra, mac8390,
>> > mcf8390, pcnet_cs and zorro8390.
>>
>> Then that's a bug, we have a very simple easy to implement interface for
>> setting this (ethtool).
>>
>> And by adding the simple hook, you will make these older drivers easier
>> to debug for the few people still using them.
>
> Have you considered that implementing the ethtool hooks in the core driver
> might allow removal of all 8390 driver 'msg_enable' module parameters and
> msglevel ethtool hooks added by c45f812f0280, excepting those in the core
> driver? But even if we did that, it seems to me that we still need this
> patch.

No, because the module parameter lets you set the default msg level at
the time the driver loads, so you can control messages printed very
early on before it is practical to invoke ethtool and set the msg
level.

This is why most drivers have this module parameter, and implement
such a scheme.

\
 
 \ /
  Last update: 2018-02-14 23:16    [W:0.063 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site