diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-07-03 00:58:01 +0200 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-07-03 00:03:59 -0400 |
commit | d7530a1e767b562c7e071f559d542c132d85fff7 (patch) | |
tree | f607e05022d084fd50ea44f794f33edc49fc14ed /CREDITS | |
parent | 29454dde27d8e340bb1987bad9aa504af7081eba (diff) | |
download | blackbird-op-linux-d7530a1e767b562c7e071f559d542c132d85fff7.tar.gz blackbird-op-linux-d7530a1e767b562c7e071f559d542c132d85fff7.zip |
[PATCH] ieee1394: fix cosmetic problem in speed probe
If ieee1394.h::IEEE1394_SPEED_MAX is bigger than the actual speed of an
1394b host adapter and the speed to another 1394b node was probed, a
bigger speed than actually used was kept in host->speed[n]. The only
resulting problem so far was sbp2 displaying bogus values in the syslog,
e.g. S3200 for actual S800 connections if IEEE1394_SPEED_MAX was S3200.
But other high-level drivers which access this field could get into more
trouble. (Eth1394 is the only other in-tree driver which does so. It
seems it is not affected.)
Nodemgr now clips this value according to the host adapter's link speed.
A pointer expression in nodemgr_check_speed is also changed for clarity.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions