]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: Show information about log levels in 'modinfo'
authorJose Castillo <jcastillo@redhat.com>
Fri, 29 Jan 2016 14:39:26 +0000 (14:39 +0000)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 12 Dec 2016 01:49:00 +0000 (17:49 -0800)
commitc994405de2eb23685265821b6c626ab57a723f71
tree55cad010721ec4a6303110951be8a3aa4c83978e
parentb09686b585fb06e200567af6158408fe084c5748
bnx2fc: Show information about log levels in 'modinfo'

Orabug: 24011326

This patch adds the information of the different values that can be used
in the module parameter 'debug_logging', as it is shown below:

$ modinfo bnx2fc
[...]
parm:           debug_logging:Option to enable extended logging,
Default is 0 - no logging.
0x01 - SCSI cmd error, cleanup.
0x02 - Session setup, cleanup, etc.
0x04 - lport events, link, mtu, etc.
0x08 - ELS logs.
0x10 - fcoe L2 fame related logs.
0xff - LOG all messages. (int)

Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c