[SCSI] qla2xxx: Basic infrastructure for dynamic logging.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Thu, 14 Jul 2011 19:00:12 +0000 (12:00 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 10:12:25 +0000 (14:12 +0400)
commit3ce8866ceae87258cf66d1f7fd72abc918753cec
tree655dbace6c920da216275b9145f20a8515c808f9
parent573e5913536a1393362265cfea9e708aa10fdf16
[SCSI] qla2xxx: Basic infrastructure for dynamic logging.

This patch adds the dynamic logging framework to the qla2xxx driver.
The user will be able to change the logging levels on the fly i.e.
without load/unload of the driver. This also enables logging to be
enabled for a particular section of the driver such as initialization,
device discovery etc.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_dbg.h
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c