diff options
author | Eric Moore <eric.moore@lsi.com> | 2007-08-14 19:28:27 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:40:36 -0400 |
commit | 232f08fc82b15fdcaffc68c558115bfb2b34db86 (patch) | |
tree | c2097d8f6d0ae4292e0a8e0fc1674daa7ea35c83 /drivers/message/fusion/mptbase.h | |
parent | 6778a35bd02939767a17463d74da113541c9371f (diff) |
[SCSI] mpt fusion: Add support for ATTO 4LD: Rebranded LSI 53C1030
Per request from Matthew Wilcox - using PCI_VENDOR_ATTO.
Add support for ATTO UL4D, they are rebranded 53C1030.
The changes are
1. Adding a new PCI vendor ID in pci table
2. The spi_port_page_2 is in different format than that of LSI generic
spi_port_page_2 and hence mapping code is added.
signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 15ff22645844..a8c80805e170 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -194,6 +194,35 @@ | |||
194 | 194 | ||
195 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 195 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
196 | /* | 196 | /* |
197 | * ATTO UL4D associated structures and defines | ||
198 | */ | ||
199 | #define ATTOFLAG_DISC 0x0001 | ||
200 | #define ATTOFLAG_TAGGED 0x0002 | ||
201 | #define ATTOFLAG_WIDE_ENB 0x0008 | ||
202 | #define ATTOFLAG_ID_ENB 0x0010 | ||
203 | #define ATTOFLAG_LUN_ENB 0x0060 | ||
204 | |||
205 | typedef struct _ATTO_DEVICE_INFO | ||
206 | { | ||
207 | u8 Offset; /* 00h */ | ||
208 | u8 Period; /* 01h */ | ||
209 | u16 ATTOFlags; /* 02h */ | ||
210 | } ATTO_DEVICE_INFO, MPI_POINTER PTR_ATTO_DEVICE_INFO, | ||
211 | ATTODeviceInfo_t, MPI_POINTER pATTODeviceInfo_t; | ||
212 | |||
213 | typedef struct _ATTO_CONFIG_PAGE_SCSI_PORT_2 | ||
214 | { | ||
215 | CONFIG_PAGE_HEADER Header; /* 00h */ | ||
216 | u16 PortFlags; /* 04h */ | ||
217 | u16 Unused1; /* 06h */ | ||
218 | u32 Unused2; /* 08h */ | ||
219 | ATTO_DEVICE_INFO DeviceSettings[16]; /* 0Ch */ | ||
220 | } fATTO_CONFIG_PAGE_SCSI_PORT_2, MPI_POINTER PTR_ATTO_CONFIG_PAGE_SCSI_PORT_2, | ||
221 | ATTO_SCSIPortPage2_t, MPI_POINTER pATTO_SCSIPortPage2_t; | ||
222 | |||
223 | |||
224 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | ||
225 | /* | ||
197 | * MPT protocol driver defs... | 226 | * MPT protocol driver defs... |
198 | */ | 227 | */ |
199 | typedef enum { | 228 | typedef enum { |