diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index f673cca507e1..4720f9ae86aa 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -76,8 +76,8 @@ | |||
76 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR | 76 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #define MPT_LINUX_VERSION_COMMON "3.03.09" | 79 | #define MPT_LINUX_VERSION_COMMON "3.03.10" |
80 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.09" | 80 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.10" |
81 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" | 81 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" |
82 | 82 | ||
83 | #define show_mptmod_ver(s,ver) \ | 83 | #define show_mptmod_ver(s,ver) \ |
@@ -487,6 +487,15 @@ typedef struct _RaidCfgData { | |||
487 | int isRaid; /* bit field, 1 if RAID */ | 487 | int isRaid; /* bit field, 1 if RAID */ |
488 | }RaidCfgData; | 488 | }RaidCfgData; |
489 | 489 | ||
490 | typedef struct _FcCfgData { | ||
491 | /* will ultimately hold fc_port_page0 also */ | ||
492 | struct { | ||
493 | FCPortPage1_t *data; | ||
494 | dma_addr_t dma; | ||
495 | int pg_sz; | ||
496 | } fc_port_page1[2]; | ||
497 | } FcCfgData; | ||
498 | |||
490 | #define MPT_RPORT_INFO_FLAGS_REGISTERED 0x01 /* rport registered */ | 499 | #define MPT_RPORT_INFO_FLAGS_REGISTERED 0x01 /* rport registered */ |
491 | #define MPT_RPORT_INFO_FLAGS_MISSING 0x02 /* missing from DevPage0 scan */ | 500 | #define MPT_RPORT_INFO_FLAGS_MISSING 0x02 /* missing from DevPage0 scan */ |
492 | 501 | ||
@@ -565,6 +574,7 @@ typedef struct _MPT_ADAPTER | |||
565 | SpiCfgData spi_data; /* Scsi config. data */ | 574 | SpiCfgData spi_data; /* Scsi config. data */ |
566 | RaidCfgData raid_data; /* Raid config. data */ | 575 | RaidCfgData raid_data; /* Raid config. data */ |
567 | SasCfgData sas_data; /* Sas config. data */ | 576 | SasCfgData sas_data; /* Sas config. data */ |
577 | FcCfgData fc_data; /* Fc config. data */ | ||
568 | MPT_IOCTL *ioctl; /* ioctl data pointer */ | 578 | MPT_IOCTL *ioctl; /* ioctl data pointer */ |
569 | struct proc_dir_entry *ioc_dentry; | 579 | struct proc_dir_entry *ioc_dentry; |
570 | struct _MPT_ADAPTER *alt_ioc; /* ptr to 929 bound adapter port */ | 580 | struct _MPT_ADAPTER *alt_ioc; /* ptr to 929 bound adapter port */ |
@@ -625,6 +635,7 @@ typedef struct _MPT_ADAPTER | |||
625 | int num_ports; | 635 | int num_ports; |
626 | struct work_struct mptscsih_persistTask; | 636 | struct work_struct mptscsih_persistTask; |
627 | 637 | ||
638 | struct work_struct fc_setup_reset_work; | ||
628 | struct list_head fc_rports; | 639 | struct list_head fc_rports; |
629 | spinlock_t fc_rescan_work_lock; | 640 | spinlock_t fc_rescan_work_lock; |
630 | int fc_rescan_work_count; | 641 | int fc_rescan_work_count; |
@@ -1027,7 +1038,6 @@ extern void mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size); | |||
1027 | extern void mpt_free_fw_memory(MPT_ADAPTER *ioc); | 1038 | extern void mpt_free_fw_memory(MPT_ADAPTER *ioc); |
1028 | extern int mpt_findImVolumes(MPT_ADAPTER *ioc); | 1039 | extern int mpt_findImVolumes(MPT_ADAPTER *ioc); |
1029 | extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode); | 1040 | extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode); |
1030 | extern int mptbase_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum); | ||
1031 | 1041 | ||
1032 | /* | 1042 | /* |
1033 | * Public data decl's... | 1043 | * Public data decl's... |