diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-04-29 02:04:08 +0200 |
---|---|---|
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) | |
download | op-kernel-dev-0a2fcaa70ce96be6e663234072984fd2b0ffa36e.zip op-kernel-dev-0a2fcaa70ce96be6e663234072984fd2b0ffa36e.tar.gz |
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 5af9a07..747f2ca 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h @@ -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; |