Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37259
b: refs/heads/master
c: 433a87d
h: refs/heads/master
i:
  37257: d98278c
  37255: a3b30d1
v: v3
  • Loading branch information
Stefan Richter authored and Ben Collins committed Jul 3, 2006
1 parent 04b5d74 commit 8e1569d
Show file tree
Hide file tree
Showing 3 changed files with 6 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: f0cbefe63c4347044fffebca24c03f3c6829f322
refs/heads/master: 433a87d528f685028b6f61fc3d7fae07ed915aa8
2 changes: 2 additions & 0 deletions trunk/drivers/ieee1394/ieee1394.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ extern const char *hpsb_speedto_str[];
#define SELFID_PORT_NCONN 0x1
#define SELFID_PORT_NONE 0x0

#define SELFID_SPEED_UNKNOWN 0x3 /* 1394b PHY */

#define PHYPACKET_LINKON 0x40000000
#define PHYPACKET_PHYCONFIG_R 0x00800000
#define PHYPACKET_PHYCONFIG_T 0x00400000
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/ieee1394/ieee1394_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,12 @@ static void build_speed_map(struct hpsb_host *host, int nodecount)
}
}

#if SELFID_SPEED_UNKNOWN != IEEE1394_SPEED_MAX
/* assume maximum speed for 1394b PHYs, nodemgr will correct it */
for (n = 0; n < nodecount; n++)
if (speedcap[n] == 3)
if (speedcap[n] == SELFID_SPEED_UNKNOWN)
speedcap[n] = IEEE1394_SPEED_MAX;
#endif
}


Expand Down

0 comments on commit 8e1569d

Please sign in to comment.