From: Rafał Miłecki Date: Mon, 18 Jul 2011 00:01:28 +0000 (+0200) Subject: bcma: define IO status register X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2b5e3322b8bff484cb206e7920c6034663d37b87;p=openwrt%2Fstaging%2Fblogic.git bcma: define IO status register Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- 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 @@ #define LINUX_BCMA_REGS_H_ /* Agent registers (common for every core) */ -#define BCMA_IOCTL 0x0408 +#define BCMA_IOCTL 0x0408 /* IO control */ #define BCMA_IOCTL_CLK 0x0001 #define BCMA_IOCTL_FGC 0x0002 #define BCMA_IOCTL_CORE_BITS 0x3FFC #define BCMA_IOCTL_PME_EN 0x4000 #define BCMA_IOCTL_BIST_EN 0x8000 +#define BCMA_IOST 0x0500 /* IO status */ +#define BCMA_IOST_CORE_BITS 0x0FFF +#define BCMA_IOST_DMA64 0x1000 +#define BCMA_IOST_GATED_CLK 0x2000 +#define BCMA_IOST_BIST_ERROR 0x4000 +#define BCMA_IOST_BIST_DONE 0x8000 #define BCMA_RESET_CTL 0x0800 #define BCMA_RESET_CTL_RESET 0x0001