Netdev List
 help / color / mirror / Atom feed
* BUG ? - natsemi: Allow users to disable workaround for DspCfg reset
@ 2014-11-09 19:44 devzero
  2014-11-10 10:20 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: devzero @ 2014-11-09 19:44 UTC (permalink / raw)
  To: netdev; +Cc: Jeff Garzik, Mark Brown

Hi, 

i wanted to get rid of some heavy natsemi driver dmesg spamming like

Apr  1 11:50:06 debian7 kernel: [ 4400.311000] eth0: possible phy reset: re-initializing
Apr  1 11:50:06 debian7 kernel: [ 4400.311319] eth0: DSPCFG accepted after 0 usec.
Apr  1 11:50:06 debian7 kernel: [ 4400.311433] eth0: Wake-up event 0x80000b
Apr  1 11:50:06 debian7 kernel: [ 4400.311537] eth0: Setting full-duplex based on negotiated link capability.

and was happy to find a module param - but i`m confused about dspcfg_workaround parameter usage. 

i can indeed disable the spamming by setting natsemi.dspcfg_workaround=0 at boot.

but should`t /sys/devices/pci0000:00/0000:00:0f.0/dspcfg_workaround  reflect the current state then and shouldn`t i be able to set this also via echo 0|1 or off|on >..... at runtime ? that does not seem to work. it always shows "off" and i cannot change the behaviour via this file.

regards
roland

references:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1a14780960888c97371a9918f42c4dbe6957efb4

ps:
jeff/mark - pardon, i sent the mail a second time because of mistyping mailinglist-adress due to marc.info list naming... 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-10 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 19:44 BUG ? - natsemi: Allow users to disable workaround for DspCfg reset devzero
2014-11-10 10:20 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox