mptbase.h (9a28f49adbe4955af8a1306fd36ddae15136dde7) mptbase.h (eeb846cefdd842af479393a7d0fd399a29e42532)
1/*
2 * linux/drivers/message/fusion/mptbase.h
3 * High performance SCSI + LAN / Fibre Channel device drivers.
4 * For use with PCI chip/adapter(s):
5 * LSIFC9xx/LSI409xx Fibre Channel
6 * running LSI Logic Fusion MPT (Message Passing Technology) firmware.
7 *
8 * Copyright (c) 1999-2005 LSI Logic Corporation

--- 399 unchanged lines hidden (view full) ---

408 struct _MPT_ADAPTER *ioc;
409 u8 ReplyFrame[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */
410 u8 sense[MPT_SENSE_BUFFER_ALLOC];
411 int wait_done; /* wake-up value for this ioc */
412 u8 rsvd;
413 u8 status; /* current command status */
414 u8 reset; /* 1 if bus reset allowed */
415 u8 target; /* target for reset */
1/*
2 * linux/drivers/message/fusion/mptbase.h
3 * High performance SCSI + LAN / Fibre Channel device drivers.
4 * For use with PCI chip/adapter(s):
5 * LSIFC9xx/LSI409xx Fibre Channel
6 * running LSI Logic Fusion MPT (Message Passing Technology) firmware.
7 *
8 * Copyright (c) 1999-2005 LSI Logic Corporation

--- 399 unchanged lines hidden (view full) ---

408 struct _MPT_ADAPTER *ioc;
409 u8 ReplyFrame[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */
410 u8 sense[MPT_SENSE_BUFFER_ALLOC];
411 int wait_done; /* wake-up value for this ioc */
412 u8 rsvd;
413 u8 status; /* current command status */
414 u8 reset; /* 1 if bus reset allowed */
415 u8 target; /* target for reset */
416 struct semaphore sem_ioc;
416 struct mutex ioctl_mutex;
417} MPT_IOCTL;
418
419#define MPT_SAS_MGMT_STATUS_RF_VALID 0x02 /* The Reply Frame is VALID */
420#define MPT_SAS_MGMT_STATUS_COMMAND_GOOD 0x10 /* Command Status GOOD */
421#define MPT_SAS_MGMT_STATUS_TM_FAILED 0x40 /* User TM request failed */
422
423typedef struct _MPT_SAS_MGMT {
417} MPT_IOCTL;
418
419#define MPT_SAS_MGMT_STATUS_RF_VALID 0x02 /* The Reply Frame is VALID */
420#define MPT_SAS_MGMT_STATUS_COMMAND_GOOD 0x10 /* Command Status GOOD */
421#define MPT_SAS_MGMT_STATUS_TM_FAILED 0x40 /* User TM request failed */
422
423typedef struct _MPT_SAS_MGMT {
424 struct semaphore mutex;
424 struct mutex mutex;
425 struct completion done;
426 u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */
427 u8 status; /* current command status */
428}MPT_SAS_MGMT;
429
430/*
431 * Event Structure and define
432 */

--- 635 unchanged lines hidden ---
425 struct completion done;
426 u8 reply[MPT_DEFAULT_FRAME_SIZE]; /* reply frame data */
427 u8 status; /* current command status */
428}MPT_SAS_MGMT;
429
430/*
431 * Event Structure and define
432 */

--- 635 unchanged lines hidden ---