]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: SPROM: extract each core power info
authorRafał Miłecki <zajec5@gmail.com>
Mon, 2 Jan 2012 07:41:23 +0000 (08:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:06:04 +0000 (14:06 -0500)
commit3c0d82d6ae624bd2316276138863bcfd685be32d
tree48e68f1c2ae6d6b7df11326fc31d9e749acedd62
parentc6cd739c289cca7465c5ea9e890b59253a7f24c0
ssb: SPROM: extract each core power info

We already extract some basic info but it's incomplete, reads info
about the first core only. Used data structure doesn't allow easy
adding of more cores.
This patch adds new struct and array for storing power info. The plan
is to: switch all extractors (including the ones using NVRAM) to new
struct, switch drivers, then deprecate and finally drop old SSB fields.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_regs.h