diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-07-17 20:01:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-19 16:49:54 -0400 |
commit | 2b5e3322b8bff484cb206e7920c6034663d37b87 (patch) | |
tree | cb92fbc8758b0866f3e76f077c744261b9a34c4e /include/linux/bcma | |
parent | 856799d58274bfa6a57bc80051ee1cefdb6b041f (diff) |
bcma: define IO status register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma')
-rw-r--r-- | include/linux/bcma/bcma_regs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma_regs.h b/include/linux/bcma/bcma_regs.h index f82d88a960ce..889219535a83 100644 --- a/include/linux/bcma/bcma_regs.h +++ b/include/linux/bcma/bcma_regs.h | |||
@@ -2,12 +2,18 @@ | |||
2 | #define LINUX_BCMA_REGS_H_ | 2 | #define LINUX_BCMA_REGS_H_ |
3 | 3 | ||
4 | /* Agent registers (common for every core) */ | 4 | /* Agent registers (common for every core) */ |
5 | #define BCMA_IOCTL 0x0408 | 5 | #define BCMA_IOCTL 0x0408 /* IO control */ |
6 | #define BCMA_IOCTL_CLK 0x0001 | 6 | #define BCMA_IOCTL_CLK 0x0001 |
7 | #define BCMA_IOCTL_FGC 0x0002 | 7 | #define BCMA_IOCTL_FGC 0x0002 |
8 | #define BCMA_IOCTL_CORE_BITS 0x3FFC | 8 | #define BCMA_IOCTL_CORE_BITS 0x3FFC |
9 | #define BCMA_IOCTL_PME_EN 0x4000 | 9 | #define BCMA_IOCTL_PME_EN 0x4000 |
10 | #define BCMA_IOCTL_BIST_EN 0x8000 | 10 | #define BCMA_IOCTL_BIST_EN 0x8000 |
11 | #define BCMA_IOST 0x0500 /* IO status */ | ||
12 | #define BCMA_IOST_CORE_BITS 0x0FFF | ||
13 | #define BCMA_IOST_DMA64 0x1000 | ||
14 | #define BCMA_IOST_GATED_CLK 0x2000 | ||
15 | #define BCMA_IOST_BIST_ERROR 0x4000 | ||
16 | #define BCMA_IOST_BIST_DONE 0x8000 | ||
11 | #define BCMA_RESET_CTL 0x0800 | 17 | #define BCMA_RESET_CTL 0x0800 |
12 | #define BCMA_RESET_CTL_RESET 0x0001 | 18 | #define BCMA_RESET_CTL_RESET 0x0001 |
13 | 19 | ||