diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 14:18:11 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 16:51:44 -0500 |
commit | 3a03eb797ce76ae8868a1497e9e746ad0add1e3b (patch) | |
tree | 2dc17c39b7c1e35248b35f7433de8711f0b6656a /drivers/scsi/qla2xxx/qla_gs.c | |
parent | 444786d7fdd770f67e29a068ec8ee981d323f7a7 (diff) |
[SCSI] qla2xxx: Add ISP81XX support.
Codes to support new FCoE boards.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gs.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 0a6f72973996..557f58d5bf88 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c | |||
@@ -1535,7 +1535,10 @@ qla2x00_fdmi_rpa(scsi_qla_host_t *vha) | |||
1535 | eiter = (struct ct_fdmi_port_attr *) (entries + size); | 1535 | eiter = (struct ct_fdmi_port_attr *) (entries + size); |
1536 | eiter->type = __constant_cpu_to_be16(FDMI_PORT_SUPPORT_SPEED); | 1536 | eiter->type = __constant_cpu_to_be16(FDMI_PORT_SUPPORT_SPEED); |
1537 | eiter->len = __constant_cpu_to_be16(4 + 4); | 1537 | eiter->len = __constant_cpu_to_be16(4 + 4); |
1538 | if (IS_QLA25XX(ha)) | 1538 | if (IS_QLA81XX(ha)) |
1539 | eiter->a.sup_speed = __constant_cpu_to_be32( | ||
1540 | FDMI_PORT_SPEED_10GB); | ||
1541 | else if (IS_QLA25XX(ha)) | ||
1539 | eiter->a.sup_speed = __constant_cpu_to_be32( | 1542 | eiter->a.sup_speed = __constant_cpu_to_be32( |
1540 | FDMI_PORT_SPEED_1GB|FDMI_PORT_SPEED_2GB| | 1543 | FDMI_PORT_SPEED_1GB|FDMI_PORT_SPEED_2GB| |
1541 | FDMI_PORT_SPEED_4GB|FDMI_PORT_SPEED_8GB); | 1544 | FDMI_PORT_SPEED_4GB|FDMI_PORT_SPEED_8GB); |
@@ -1575,6 +1578,10 @@ qla2x00_fdmi_rpa(scsi_qla_host_t *vha) | |||
1575 | eiter->a.cur_speed = | 1578 | eiter->a.cur_speed = |
1576 | __constant_cpu_to_be32(FDMI_PORT_SPEED_8GB); | 1579 | __constant_cpu_to_be32(FDMI_PORT_SPEED_8GB); |
1577 | break; | 1580 | break; |
1581 | case PORT_SPEED_10GB: | ||
1582 | eiter->a.cur_speed = | ||
1583 | __constant_cpu_to_be32(FDMI_PORT_SPEED_10GB); | ||
1584 | break; | ||
1578 | default: | 1585 | default: |
1579 | eiter->a.cur_speed = | 1586 | eiter->a.cur_speed = |
1580 | __constant_cpu_to_be32(FDMI_PORT_SPEED_UNKNOWN); | 1587 | __constant_cpu_to_be32(FDMI_PORT_SPEED_UNKNOWN); |