diff options
| author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-06-29 19:44:38 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-07-09 16:36:03 -0400 |
| commit | 4b4f5be2e49a604de11dee0ee9b3f151de061724 (patch) | |
| tree | 147dda1b47876ba586049dbea6f5e8eaae5dd069 /include/linux/bcma | |
| parent | 00eeedcf084a21bf436ff3147f11f0923c811155 (diff) | |
bcma: add constants for chip ids
The chip IDs are used all over bcma and no constants where defined.
This patch adds the constants and makes bcma use them.
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma')
| -rw-r--r-- | include/linux/bcma/bcma.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 12334f9190cb..03b2f30d2ace 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
| @@ -137,6 +137,36 @@ struct bcma_host_ops { | |||
| 137 | 137 | ||
| 138 | #define BCMA_MAX_NR_CORES 16 | 138 | #define BCMA_MAX_NR_CORES 16 |
| 139 | 139 | ||
| 140 | /* Chip IDs of PCIe devices */ | ||
| 141 | #define BCMA_CHIP_ID_BCM4313 0x4313 | ||
| 142 | #define BCMA_CHIP_ID_BCM43224 43224 | ||
| 143 | #define BCMA_PKG_ID_BCM43224_FAB_CSM 0x8 | ||
| 144 | #define BCMA_PKG_ID_BCM43224_FAB_SMIC 0xa | ||
| 145 | #define BCMA_CHIP_ID_BCM43225 43225 | ||
| 146 | #define BCMA_CHIP_ID_BCM43227 43227 | ||
| 147 | #define BCMA_CHIP_ID_BCM43228 43228 | ||
| 148 | #define BCMA_CHIP_ID_BCM43421 43421 | ||
| 149 | #define BCMA_CHIP_ID_BCM43428 43428 | ||
| 150 | #define BCMA_CHIP_ID_BCM43431 43431 | ||
| 151 | #define BCMA_CHIP_ID_BCM43460 43460 | ||
| 152 | #define BCMA_CHIP_ID_BCM4331 0x4331 | ||
| 153 | #define BCMA_CHIP_ID_BCM6362 0x6362 | ||
| 154 | #define BCMA_CHIP_ID_BCM4360 0x4360 | ||
| 155 | #define BCMA_CHIP_ID_BCM4352 0x4352 | ||
| 156 | |||
| 157 | /* Chip IDs of SoCs */ | ||
| 158 | #define BCMA_CHIP_ID_BCM4706 0x5300 | ||
| 159 | #define BCMA_CHIP_ID_BCM4716 0x4716 | ||
| 160 | #define BCMA_PKG_ID_BCM4716 8 | ||
| 161 | #define BCMA_PKG_ID_BCM4717 9 | ||
| 162 | #define BCMA_PKG_ID_BCM4718 10 | ||
| 163 | #define BCMA_CHIP_ID_BCM47162 47162 | ||
| 164 | #define BCMA_CHIP_ID_BCM4748 0x4748 | ||
| 165 | #define BCMA_CHIP_ID_BCM4749 0x4749 | ||
| 166 | #define BCMA_CHIP_ID_BCM5356 0x5356 | ||
| 167 | #define BCMA_CHIP_ID_BCM5357 0x5357 | ||
| 168 | #define BCMA_CHIP_ID_BCM53572 53572 | ||
| 169 | |||
| 140 | struct bcma_device { | 170 | struct bcma_device { |
| 141 | struct bcma_bus *bus; | 171 | struct bcma_bus *bus; |
| 142 | struct bcma_device_id id; | 172 | struct bcma_device_id id; |
