bnx2fc: Show information about log levels in 'modinfo'
authorJose Castillo <jcastillo@redhat.com>
Fri, 29 Jan 2016 14:39:26 +0000 (14:39 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commitd4faee084f04ce2d9d97502b3471d77e6fea9d4b
tree440fc0054e696d0928b3b86a6b31df7309322203
parent126a4fe010fd86cf3eaac9a481f0698e39dc3c0d
bnx2fc: Show information about log levels in 'modinfo'

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>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c