[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>
This commit is contained in:
committed by
James Bottomley
parent
6778a35bd0
commit
232f08fc82
@ -192,6 +192,35 @@
|
||||
#define MYIOC_s_WARN_FMT KERN_WARNING MYNAM ": %s: WARNING - "
|
||||
#define MYIOC_s_ERR_FMT KERN_ERR MYNAM ": %s: ERROR - "
|
||||
|
||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||
/*
|
||||
* ATTO UL4D associated structures and defines
|
||||
*/
|
||||
#define ATTOFLAG_DISC 0x0001
|
||||
#define ATTOFLAG_TAGGED 0x0002
|
||||
#define ATTOFLAG_WIDE_ENB 0x0008
|
||||
#define ATTOFLAG_ID_ENB 0x0010
|
||||
#define ATTOFLAG_LUN_ENB 0x0060
|
||||
|
||||
typedef struct _ATTO_DEVICE_INFO
|
||||
{
|
||||
u8 Offset; /* 00h */
|
||||
u8 Period; /* 01h */
|
||||
u16 ATTOFlags; /* 02h */
|
||||
} ATTO_DEVICE_INFO, MPI_POINTER PTR_ATTO_DEVICE_INFO,
|
||||
ATTODeviceInfo_t, MPI_POINTER pATTODeviceInfo_t;
|
||||
|
||||
typedef struct _ATTO_CONFIG_PAGE_SCSI_PORT_2
|
||||
{
|
||||
CONFIG_PAGE_HEADER Header; /* 00h */
|
||||
u16 PortFlags; /* 04h */
|
||||
u16 Unused1; /* 06h */
|
||||
u32 Unused2; /* 08h */
|
||||
ATTO_DEVICE_INFO DeviceSettings[16]; /* 0Ch */
|
||||
} fATTO_CONFIG_PAGE_SCSI_PORT_2, MPI_POINTER PTR_ATTO_CONFIG_PAGE_SCSI_PORT_2,
|
||||
ATTO_SCSIPortPage2_t, MPI_POINTER pATTO_SCSIPortPage2_t;
|
||||
|
||||
|
||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||
/*
|
||||
* MPT protocol driver defs...
|
||||
|
Reference in New Issue
Block a user