summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/ieee1394.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-12-12 21:57:50 -0800
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-01-04 23:50:34 +0100
commitc1fc58d63d754b82070881c62601551464afa19d (patch)
tree3f4e1bc9a884aaea4fbfbb077e3865d2821d681d /drivers/ieee1394/ieee1394.h
parentcbe7dd699e0bdda85a9279f2659b51b92e6782e3 (diff)
downloadblackbird-op-linux-c1fc58d63d754b82070881c62601551464afa19d.tar.gz
blackbird-op-linux-c1fc58d63d754b82070881c62601551464afa19d.zip
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>
Diffstat (limited to 'drivers/ieee1394/ieee1394.h')
-rw-r--r--drivers/ieee1394/ieee1394.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394.h b/drivers/ieee1394/ieee1394.h
index 40492074c013..e0ae0d3d747f 100644
--- a/drivers/ieee1394/ieee1394.h
+++ b/drivers/ieee1394/ieee1394.h
@@ -121,6 +121,9 @@ extern const char *hpsb_speedto_str[];
#include <asm/byteorder.h>
+/* '1' '3' '9' '4' in ASCII */
+#define IEEE1394_BUSID_MAGIC cpu_to_be32(0x31333934)
+
#ifdef __BIG_ENDIAN_BITFIELD
struct selfid {
OpenPOWER on IntegriCloud