diff options
author | Ben Collins <bcollins@ubuntu.com> | 2006-06-12 18:15:31 -0400 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-06-12 18:15:31 -0400 |
commit | 6737231ead125c7cee7ce4d3a74179bdac085529 (patch) | |
tree | f0c996c8c48d07398c47ada5a2dacdcbf0800770 /drivers/ieee1394/eth1394.h | |
parent | e269d276792684a13ab0d9acd8c024ec7d6c5f4d (diff) |
ieee1394: add preprocessor constant for invalid csr address
Replace occurrences of the magic value ~(u64)0 for invalid
CSR address spaces by a named constant for better readability.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394/eth1394.h')
-rw-r--r-- | drivers/ieee1394/eth1394.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ieee1394/eth1394.h b/drivers/ieee1394/eth1394.h index a77213cfc483..c45cbff9138d 100644 --- a/drivers/ieee1394/eth1394.h +++ b/drivers/ieee1394/eth1394.h | |||
@@ -32,8 +32,6 @@ | |||
32 | * S3200 (per Table 16-3 of IEEE 1394b-2002). */ | 32 | * S3200 (per Table 16-3 of IEEE 1394b-2002). */ |
33 | #define ETHER1394_REGION_ADDR_LEN 4096 | 33 | #define ETHER1394_REGION_ADDR_LEN 4096 |
34 | 34 | ||
35 | #define ETHER1394_INVALID_ADDR ~0ULL | ||
36 | |||
37 | /* GASP identifier numbers for IPv4 over IEEE 1394 */ | 35 | /* GASP identifier numbers for IPv4 over IEEE 1394 */ |
38 | #define ETHER1394_GASP_SPECIFIER_ID 0x00005E | 36 | #define ETHER1394_GASP_SPECIFIER_ID 0x00005E |
39 | #define ETHER1394_GASP_SPECIFIER_ID_HI ((ETHER1394_GASP_SPECIFIER_ID >> 8) & 0xffff) | 37 | #define ETHER1394_GASP_SPECIFIER_ID_HI ((ETHER1394_GASP_SPECIFIER_ID >> 8) & 0xffff) |