[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>
This commit is contained in:
committed by
Ben Collins
parent
f0cbefe63c
commit
433a87d528
@@ -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
|
||||
|
Reference in New Issue
Block a user