diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 75105277e22f..e7efeb7740b9 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -77,8 +77,8 @@ | |||
77 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR | 77 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #define MPT_LINUX_VERSION_COMMON "3.03.03" | 80 | #define MPT_LINUX_VERSION_COMMON "3.03.04" |
81 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.03" | 81 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.04" |
82 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" | 82 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" |
83 | 83 | ||
84 | #define show_mptmod_ver(s,ver) \ | 84 | #define show_mptmod_ver(s,ver) \ |
@@ -421,6 +421,17 @@ typedef struct _MPT_IOCTL { | |||
421 | struct semaphore sem_ioc; | 421 | struct semaphore sem_ioc; |
422 | } MPT_IOCTL; | 422 | } MPT_IOCTL; |
423 | 423 | ||
424 | #define MPT_SAS_MGMT_STATUS_RF_VALID 0x02 /* The Reply Frame is VALID */ | ||
425 | #define MPT_SAS_MGMT_STATUS_COMMAND_GOOD 0x10 /* Command Status GOOD */ | ||
426 | #define MPT_SAS_MGMT_STATUS_TM_FAILED 0x40 /* User TM request failed */ | ||
427 | |||
428 | typedef struct _MPT_SAS_MGMT { | ||
429 | struct semaphore mutex; | ||
430 | struct completion done; | ||
431 | u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */ | ||
432 | u8 status; /* current command status */ | ||
433 | }MPT_SAS_MGMT; | ||
434 | |||
424 | /* | 435 | /* |
425 | * Event Structure and define | 436 | * Event Structure and define |
426 | */ | 437 | */ |
@@ -604,6 +615,7 @@ typedef struct _MPT_ADAPTER | |||
604 | struct list_head list; | 615 | struct list_head list; |
605 | struct net_device *netdev; | 616 | struct net_device *netdev; |
606 | struct list_head sas_topology; | 617 | struct list_head sas_topology; |
618 | MPT_SAS_MGMT sas_mgmt; | ||
607 | } MPT_ADAPTER; | 619 | } MPT_ADAPTER; |
608 | 620 | ||
609 | /* | 621 | /* |