summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/csiostor/csio_mb.h
diff options
context:
space:
mode:
authorVarun Prakash2018-03-11 13:32:13 +0100
committerMartin K. Petersen2018-03-15 05:41:51 +0100
commite1735d9a98ab5593484bbba1933e362a261e0de0 (patch)
tree88304d7f300edfbc0444ba5d9495c94413781a8c /drivers/scsi/csiostor/csio_mb.h
parentscsi: bfa: remove VLA (diff)
downloadkernel-qcow2-linux-e1735d9a98ab5593484bbba1933e362a261e0de0.tar.gz
kernel-qcow2-linux-e1735d9a98ab5593484bbba1933e362a261e0de0.tar.xz
kernel-qcow2-linux-e1735d9a98ab5593484bbba1933e362a261e0de0.zip
scsi: csiostor: add support for 32 bit port capabilities
32 bit port capabilities are required to support new speeds which can not be supported using 16 bit port capabilities. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_mb.h')
-rw-r--r--drivers/scsi/csiostor/csio_mb.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/scsi/csiostor/csio_mb.h b/drivers/scsi/csiostor/csio_mb.h
index a6823df73015..b07e891c5936 100644
--- a/drivers/scsi/csiostor/csio_mb.h
+++ b/drivers/scsi/csiostor/csio_mb.h
@@ -88,12 +88,6 @@ enum csio_dev_state {
FW_PARAMS_PARAM_Y_V(0) | \
FW_PARAMS_PARAM_Z_V(0))
-enum {
- PAUSE_RX = 1 << 0,
- PAUSE_TX = 1 << 1,
- PAUSE_AUTONEG = 1 << 2
-};
-
#define CSIO_INIT_MBP(__mbp, __cp, __tmo, __priv, __fn, __clear) \
do { \
if (__clear) \
@@ -189,7 +183,8 @@ void csio_mb_port(struct csio_hw *, struct csio_mb *, uint32_t,
void (*) (struct csio_hw *, struct csio_mb *));
void csio_mb_process_read_port_rsp(struct csio_hw *, struct csio_mb *,
- enum fw_retval *, uint16_t *);
+ enum fw_retval *, uint16_t,
+ uint32_t *, uint32_t *);
void csio_mb_initialize(struct csio_hw *, struct csio_mb *, uint32_t,
void (*)(struct csio_hw *, struct csio_mb *));