diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-07-03 20:02:27 +0400 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-07-03 20:02:27 +0400 |
commit | 433a87d528f685028b6f61fc3d7fae07ed915aa8 (patch) | |
tree | 6dde8ae1b1fbe199b8a41c2e54e95bed427c61c5 /drivers/ieee1394/ieee1394.h | |
parent | f0cbefe63c4347044fffebca24c03f3c6829f322 (diff) | |
download | linux-433a87d528f685028b6f61fc3d7fae07ed915aa8.tar.xz |
[PATCH] ieee1394: skip dummy loop in build_speed_map
The last loop in ieee1394 core's speed calculation is not required
unless ieee1394.h::IEEE1394_SPEED_MAX is changed from its current value
of 3.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394/ieee1394.h')
-rw-r--r-- | drivers/ieee1394/ieee1394.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394.h b/drivers/ieee1394/ieee1394.h index 936d776de00a..d911abe3a35e 100644 --- a/drivers/ieee1394/ieee1394.h +++ b/drivers/ieee1394/ieee1394.h @@ -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 |