diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-06-02 02:08:51 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 15:01:07 -0400 |
commit | 27f18dc2dafe66a93c7101fc94201b8c83903597 (patch) | |
tree | 4600db64c653cfc74d427fc26b7f94ef8fb5db28 /drivers/bcma/bcma_private.h | |
parent | 4da909e7b572b561d8150f9d41b04bcfff386222 (diff) | |
download | kernel_goldelico_gta04-27f18dc2dafe66a93c7101fc94201b8c83903597.zip kernel_goldelico_gta04-27f18dc2dafe66a93c7101fc94201b8c83903597.tar.gz kernel_goldelico_gta04-27f18dc2dafe66a93c7101fc94201b8c83903597.tar.bz2 |
bcma: read SPROM and extract MAC from it
In case of BCMA cards SPROM is located in the ChipCommon core, it is
not mapped as separated host window. So far we have met only SPROMs rev
8.
SPROM layout seems to be the same as for SSB buses, so we decided to
share SPROM struct and some defines.
For now we extract MAC address only, this can be improved of course.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r-- | drivers/bcma/bcma_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h index 2f72e9c..12a75ab 100644 --- a/drivers/bcma/bcma_private.h +++ b/drivers/bcma/bcma_private.h @@ -19,6 +19,9 @@ extern void bcma_bus_unregister(struct bcma_bus *bus); /* scan.c */ int bcma_bus_scan(struct bcma_bus *bus); +/* sprom.c */ +int bcma_sprom_get(struct bcma_bus *bus); + #ifdef CONFIG_BCMA_HOST_PCI /* host_pci.c */ extern int __init bcma_host_pci_init(void); |