Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89606
b: refs/heads/master
c: 63995d4
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Stefan Richter committed Apr 18, 2008
1 parent 5c1312a commit 7290bdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: a4b47d62c5018e81e2b8ee9843d8a8268e886d25
refs/heads/master: 63995d46506a774f5ddd6b51c017d42c3fbfaedb
6 changes: 2 additions & 4 deletions trunk/drivers/ieee1394/csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,15 @@ static void host_reset(struct hpsb_host *host)
host->csr.state &= ~0x100;
}

host->csr.topology_map[1] =
cpu_to_be32(be32_to_cpu(host->csr.topology_map[1]) + 1);
be32_add_cpu(&host->csr.topology_map[1], 1);
host->csr.topology_map[2] = cpu_to_be32(host->node_count << 16
| host->selfid_count);
host->csr.topology_map[0] =
cpu_to_be32((host->selfid_count + 2) << 16
| csr_crc16(host->csr.topology_map + 1,
host->selfid_count + 2));

host->csr.speed_map[1] =
cpu_to_be32(be32_to_cpu(host->csr.speed_map[1]) + 1);
be32_add_cpu(&host->csr.speed_map[1], 1);
host->csr.speed_map[0] = cpu_to_be32(0x3f1 << 16
| csr_crc16(host->csr.speed_map+1,
0x3f1));
Expand Down

0 comments on commit 7290bdc

Please sign in to comment.