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/csr1212.h | |
parent | e269d276792684a13ab0d9acd8c024ec7d6c5f4d (diff) | |
download | blackbird-op-linux-6737231ead125c7cee7ce4d3a74179bdac085529.tar.gz blackbird-op-linux-6737231ead125c7cee7ce4d3a74179bdac085529.zip |
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/csr1212.h')
-rw-r--r-- | drivers/ieee1394/csr1212.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ieee1394/csr1212.h b/drivers/ieee1394/csr1212.h index cecd5871f2de..17ddd72dee4e 100644 --- a/drivers/ieee1394/csr1212.h +++ b/drivers/ieee1394/csr1212.h @@ -192,6 +192,7 @@ #define CSR1212_EXTENDED_ROM_SIZE (0x10000 * sizeof(u_int32_t)) +#define CSR1212_INVALID_ADDR_SPACE -1 /* Config ROM image structures */ struct csr1212_bus_info_block_img { |