diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-04-28 20:04:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 12:45:21 -0400 |
commit | 0a2fcaa70ce96be6e663234072984fd2b0ffa36e (patch) | |
tree | 1f57022ce2c1f24975ce1ab4a81b3dc36d54df08 /include/linux/bcma/bcma.h | |
parent | a9bba182a1f3f33ba11abde8226ab2a4c39ce4e7 (diff) |
bcma: add boardinfo struct
This struct contains information about the board, the chip is running
on. The struct is filled for PCIe devices and SoCs. This information is
used by b43 and will be used by brcmsmac soon.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 5af9a075498f..747f2ca6f04e 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -26,6 +26,11 @@ struct bcma_chipinfo { | |||
26 | u8 pkg; | 26 | u8 pkg; |
27 | }; | 27 | }; |
28 | 28 | ||
29 | struct bcma_boardinfo { | ||
30 | u16 vendor; | ||
31 | u16 type; | ||
32 | }; | ||
33 | |||
29 | enum bcma_clkmode { | 34 | enum bcma_clkmode { |
30 | BCMA_CLKMODE_FAST, | 35 | BCMA_CLKMODE_FAST, |
31 | BCMA_CLKMODE_DYNAMIC, | 36 | BCMA_CLKMODE_DYNAMIC, |
@@ -198,6 +203,8 @@ struct bcma_bus { | |||
198 | 203 | ||
199 | struct bcma_chipinfo chipinfo; | 204 | struct bcma_chipinfo chipinfo; |
200 | 205 | ||
206 | struct bcma_boardinfo boardinfo; | ||
207 | |||
201 | struct bcma_device *mapped_core; | 208 | struct bcma_device *mapped_core; |
202 | struct list_head cores; | 209 | struct list_head cores; |
203 | u8 nr_cores; | 210 | u8 nr_cores; |