mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
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>
This commit is contained in:
parent
a9bba182a1
commit
0a2fcaa70c
6 changed files with 29 additions and 3 deletions
|
@ -26,6 +26,11 @@ struct bcma_chipinfo {
|
|||
u8 pkg;
|
||||
};
|
||||
|
||||
struct bcma_boardinfo {
|
||||
u16 vendor;
|
||||
u16 type;
|
||||
};
|
||||
|
||||
enum bcma_clkmode {
|
||||
BCMA_CLKMODE_FAST,
|
||||
BCMA_CLKMODE_DYNAMIC,
|
||||
|
@ -198,6 +203,8 @@ struct bcma_bus {
|
|||
|
||||
struct bcma_chipinfo chipinfo;
|
||||
|
||||
struct bcma_boardinfo boardinfo;
|
||||
|
||||
struct bcma_device *mapped_core;
|
||||
struct list_head cores;
|
||||
u8 nr_cores;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue