Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64100
b: refs/heads/master
c: 3d1ff48
h: refs/heads/master
v: v3
  • Loading branch information
Raghava Kondapalli authored and Roland Dreier committed Aug 3, 2007
1 parent d62d7e6 commit 707d417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d7cbfd63136e4469a896acfadb33e19ed62f068
refs/heads/master: 3d1ff48da760968793f3c36672961ffd23088787
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ static const char *srp_target_info(struct Scsi_Host *host)
static int srp_target_is_topspin(struct srp_target_port *target)
{
static const u8 topspin_oui[3] = { 0x00, 0x05, 0xad };
static const u8 cisco_oui[3] = { 0x00, 0x1b, 0x0d };

return topspin_workarounds &&
!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui);
(!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) ||
!memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui));
}

static int srp_target_is_mellanox(struct srp_target_port *target)
Expand Down

0 comments on commit 707d417

Please sign in to comment.