]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: add module parameter to enable MCDI logging on new functions
authorEdward Cree <ecree@solarflare.com>
Wed, 27 May 2015 12:14:26 +0000 (13:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 17:54:51 +0000 (13:54 -0400)
commit0bb2b3c0f6e920704f683231e3a7e8ac7f2bbb4a
tree49495b382ad79ef41e18ffd7cfb74aae7d9f2cbf
parent37c9473883b46a297c64c0b85ce7a3c7cbb9e5fa
sfc: add module parameter to enable MCDI logging on new functions

As many issues are encountered at probe time, where MCDI logging can't be
 enabled through the sysfs node, this change adds a module parameter
 'mcdi_logging_default', which defaults to false.  When set to true, newly-
 probed functions will have MCDI logging enabled.  The setting can
 subsequently be changed as normal through the sysfs node.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi.c