diff options
author | Arthur Jones <arthur.jones@qlogic.com> | 2007-09-18 17:24:23 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-09 23:56:59 -0400 |
commit | 4bec0b9155d6757847b754e21b55ecafcecef839 (patch) | |
tree | 8df789c5b0ef303d883c25321547589c92ddb3d6 /drivers/infiniband/hw/ipath/ipath_iba6110.c | |
parent | 70c51da2c4f84317bb13a2b564600afdcebd686f (diff) |
IB/ipath: iba6110 rev4 no longer needs recv header overrun workaround
iba6110 rev3 and earlier had a chip bug where the chip could overrun the
recv header queue. rev4 fixed this chip bug so userspace no longer needs
to workaround it. Now we only set the workaround flag for older chip
versions.
Signed-off-by: Arthur Jones <arthur.jones@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_iba6110.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_iba6110.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6110.c b/drivers/infiniband/hw/ipath/ipath_iba6110.c index e1c5998887ea..d4940beb58c7 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6110.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6110.c | |||
@@ -1599,8 +1599,10 @@ static int ipath_ht_get_base_info(struct ipath_portdata *pd, void *kbase) | |||
1599 | { | 1599 | { |
1600 | struct ipath_base_info *kinfo = kbase; | 1600 | struct ipath_base_info *kinfo = kbase; |
1601 | 1601 | ||
1602 | kinfo->spi_runtime_flags |= IPATH_RUNTIME_HT | | 1602 | kinfo->spi_runtime_flags |= IPATH_RUNTIME_HT; |
1603 | IPATH_RUNTIME_RCVHDR_COPY; | 1603 | |
1604 | if (pd->port_dd->ipath_minrev < 4) | ||
1605 | kinfo->spi_runtime_flags |= IPATH_RUNTIME_RCVHDR_COPY; | ||
1604 | 1606 | ||
1605 | return 0; | 1607 | return 0; |
1606 | } | 1608 | } |