bcma: read SPROM and extract MAC from it
authorRafał Miłecki <zajec5@gmail.com>
Thu, 2 Jun 2011 00:08:51 +0000 (02:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:01:07 +0000 (15:01 -0400)
commit27f18dc2dafe66a93c7101fc94201b8c83903597
tree4600db64c653cfc74d427fc26b7f94ef8fb5db28
parent4da909e7b572b561d8150f9d41b04bcfff386222
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>
drivers/bcma/Makefile
drivers/bcma/bcma_private.h
drivers/bcma/main.c
drivers/bcma/sprom.c [new file with mode: 0644]
include/linux/bcma/bcma.h
include/linux/bcma/bcma_driver_chipcommon.h