ieee1394: regression in 2.6.25: updates should happen before probes

Regression since commit 73cf60232e,
"ieee1394: use class iteration api":  The two loops for (1.) driver
updates and (2.) driver probes were replaced by a single loop with
bogus needs_probe checks.  Hence updates and probes were now intermixed,
and especially sbp2 updates (reconnects) held up longer than necessary.

While we fix it, change the needs_probe flag to bool type for clarity.

Tested by Damien Benoist.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
这个提交包含在:
Stefan Richter
2008-08-16 13:36:47 +02:00
父节点 1fca254274
当前提交 6848408abf
修改 2 个文件,包含 16 行新增15 行删除

查看文件

@@ -97,7 +97,7 @@ struct node_entry {
struct hpsb_host *host; /* Host this node is attached to */
nodeid_t nodeid; /* NodeID */
struct bus_options busopt; /* Bus Options */
int needs_probe;
bool needs_probe;
unsigned int generation; /* Synced with hpsb generation */
/* The following is read from the config rom */