diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-03-19 11:58:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-25 16:43:40 -0400 |
commit | 3e6998574fde0ab7a3329c9229394dd80462ead2 (patch) | |
tree | cadc584259128b19c123950a0778668b9efa67a7 /include/linux/bcma | |
parent | c5116e9d8d2de324f13a91fe5afc308cd6b0ca93 (diff) |
bcma: define board types
Using that IDs we can write workarounds for various cards
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.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index e0ce311011c0..0ab6712fd76b 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -173,6 +173,60 @@ struct bcma_host_ops { | |||
173 | #define BCMA_CHIP_ID_BCM53572 53572 | 173 | #define BCMA_CHIP_ID_BCM53572 53572 |
174 | #define BCMA_PKG_ID_BCM47188 9 | 174 | #define BCMA_PKG_ID_BCM47188 9 |
175 | 175 | ||
176 | /* Board types (on PCI usually equals to the subsystem dev id) */ | ||
177 | /* BCM4313 */ | ||
178 | #define BCMA_BOARD_TYPE_BCM94313BU 0X050F | ||
179 | #define BCMA_BOARD_TYPE_BCM94313HM 0X0510 | ||
180 | #define BCMA_BOARD_TYPE_BCM94313EPA 0X0511 | ||
181 | #define BCMA_BOARD_TYPE_BCM94313HMG 0X051C | ||
182 | /* BCM4716 */ | ||
183 | #define BCMA_BOARD_TYPE_BCM94716NR2 0X04CD | ||
184 | /* BCM43224 */ | ||
185 | #define BCMA_BOARD_TYPE_BCM943224X21 0X056E | ||
186 | #define BCMA_BOARD_TYPE_BCM943224X21_FCC 0X00D1 | ||
187 | #define BCMA_BOARD_TYPE_BCM943224X21B 0X00E9 | ||
188 | #define BCMA_BOARD_TYPE_BCM943224M93 0X008B | ||
189 | #define BCMA_BOARD_TYPE_BCM943224M93A 0X0090 | ||
190 | #define BCMA_BOARD_TYPE_BCM943224X16 0X0093 | ||
191 | #define BCMA_BOARD_TYPE_BCM94322X9 0X008D | ||
192 | #define BCMA_BOARD_TYPE_BCM94322M35E 0X008E | ||
193 | /* BCM43228 */ | ||
194 | #define BCMA_BOARD_TYPE_BCM943228BU8 0X0540 | ||
195 | #define BCMA_BOARD_TYPE_BCM943228BU9 0X0541 | ||
196 | #define BCMA_BOARD_TYPE_BCM943228BU 0X0542 | ||
197 | #define BCMA_BOARD_TYPE_BCM943227HM4L 0X0543 | ||
198 | #define BCMA_BOARD_TYPE_BCM943227HMB 0X0544 | ||
199 | #define BCMA_BOARD_TYPE_BCM943228HM4L 0X0545 | ||
200 | #define BCMA_BOARD_TYPE_BCM943228SD 0X0573 | ||
201 | /* BCM4331 */ | ||
202 | #define BCMA_BOARD_TYPE_BCM94331X19 0X00D6 | ||
203 | #define BCMA_BOARD_TYPE_BCM94331X28 0X00E4 | ||
204 | #define BCMA_BOARD_TYPE_BCM94331X28B 0X010E | ||
205 | #define BCMA_BOARD_TYPE_BCM94331PCIEBT3AX 0X00E4 | ||
206 | #define BCMA_BOARD_TYPE_BCM94331X12_2G 0X00EC | ||
207 | #define BCMA_BOARD_TYPE_BCM94331X12_5G 0X00ED | ||
208 | #define BCMA_BOARD_TYPE_BCM94331X29B 0X00EF | ||
209 | #define BCMA_BOARD_TYPE_BCM94331CSAX 0X00EF | ||
210 | #define BCMA_BOARD_TYPE_BCM94331X19C 0X00F5 | ||
211 | #define BCMA_BOARD_TYPE_BCM94331X33 0X00F4 | ||
212 | #define BCMA_BOARD_TYPE_BCM94331BU 0X0523 | ||
213 | #define BCMA_BOARD_TYPE_BCM94331S9BU 0X0524 | ||
214 | #define BCMA_BOARD_TYPE_BCM94331MC 0X0525 | ||
215 | #define BCMA_BOARD_TYPE_BCM94331MCI 0X0526 | ||
216 | #define BCMA_BOARD_TYPE_BCM94331PCIEBT4 0X0527 | ||
217 | #define BCMA_BOARD_TYPE_BCM94331HM 0X0574 | ||
218 | #define BCMA_BOARD_TYPE_BCM94331PCIEDUAL 0X059B | ||
219 | #define BCMA_BOARD_TYPE_BCM94331MCH5 0X05A9 | ||
220 | #define BCMA_BOARD_TYPE_BCM94331CS 0X05C6 | ||
221 | #define BCMA_BOARD_TYPE_BCM94331CD 0X05DA | ||
222 | /* BCM53572 */ | ||
223 | #define BCMA_BOARD_TYPE_BCM953572BU 0X058D | ||
224 | #define BCMA_BOARD_TYPE_BCM953572NR2 0X058E | ||
225 | #define BCMA_BOARD_TYPE_BCM947188NR2 0X058F | ||
226 | #define BCMA_BOARD_TYPE_BCM953572SDRNR2 0X0590 | ||
227 | /* BCM43142 */ | ||
228 | #define BCMA_BOARD_TYPE_BCM943142HM 0X05E0 | ||
229 | |||
176 | struct bcma_device { | 230 | struct bcma_device { |
177 | struct bcma_bus *bus; | 231 | struct bcma_bus *bus; |
178 | struct bcma_device_id id; | 232 | struct bcma_device_id id; |