diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-10-13 18:16:45 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:00:10 -0500 |
commit | 3420d36cac2f1d28fc99290de12dd66dfaf65d8e (patch) | |
tree | f506e7c91fc8a0b801e594412f264dfd3ebe3ed1 /drivers/scsi/qla2xxx/qla_def.h | |
parent | f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (diff) |
[SCSI] qla2xxx: Add firmware-dump kobject uevent notification.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 215061861794..d8ce31040b51 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2123,6 +2123,7 @@ enum qla_work_type { | |||
2123 | QLA_EVT_ASYNC_LOGIN_DONE, | 2123 | QLA_EVT_ASYNC_LOGIN_DONE, |
2124 | QLA_EVT_ASYNC_LOGOUT, | 2124 | QLA_EVT_ASYNC_LOGOUT, |
2125 | QLA_EVT_ASYNC_LOGOUT_DONE, | 2125 | QLA_EVT_ASYNC_LOGOUT_DONE, |
2126 | QLA_EVT_UEVENT, | ||
2126 | }; | 2127 | }; |
2127 | 2128 | ||
2128 | 2129 | ||
@@ -2146,6 +2147,10 @@ struct qla_work_evt { | |||
2146 | #define QLA_LOGIO_LOGIN_RETRIED BIT_0 | 2147 | #define QLA_LOGIO_LOGIN_RETRIED BIT_0 |
2147 | u16 data[2]; | 2148 | u16 data[2]; |
2148 | } logio; | 2149 | } logio; |
2150 | struct { | ||
2151 | u32 code; | ||
2152 | #define QLA_UEVENT_CODE_FW_DUMP 0 | ||
2153 | } uevent; | ||
2149 | } u; | 2154 | } u; |
2150 | }; | 2155 | }; |
2151 | 2156 | ||