ieee1394: consolidate uses of IEEE1934_BUSID_MAGIC
Move the definition out of nodemgr.h and use it in csr.c/pcilynx.c Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:

committed by
Stefan Richter

vanhempi
cbe7dd699e
commit
c1fc58d63d
@@ -217,7 +217,7 @@ static void add_host(struct hpsb_host *host)
|
||||
|
||||
host->csr.generation = 2;
|
||||
|
||||
bus_info[1] = __constant_cpu_to_be32(0x31333934);
|
||||
bus_info[1] = IEEE1394_BUSID_MAGIC;
|
||||
bus_info[2] = cpu_to_be32((hpsb_disable_irm ? 0 : 1 << CSR_IRMC_SHIFT) |
|
||||
(1 << CSR_CMC_SHIFT) |
|
||||
(1 << CSR_ISC_SHIFT) |
|
||||
@@ -250,7 +250,7 @@ static void remove_host(struct hpsb_host *host)
|
||||
{
|
||||
quadlet_t bus_info[CSR_BUS_INFO_SIZE];
|
||||
|
||||
bus_info[1] = __constant_cpu_to_be32(0x31333934);
|
||||
bus_info[1] = IEEE1394_BUSID_MAGIC;
|
||||
bus_info[2] = cpu_to_be32((0 << CSR_IRMC_SHIFT) |
|
||||
(0 << CSR_CMC_SHIFT) |
|
||||
(0 << CSR_ISC_SHIFT) |
|
||||
|
Viittaa uudesa ongelmassa
Block a user