cs5535: add a generic MFGPT driver
authorAndres Salomon <dilinger@collabora.co.uk>
Tue, 15 Dec 2009 02:00:37 +0000 (18:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:28 +0000 (08:53 -0800)
commit82dca611bb516ec5fb7d04077733d6a4b70f52d1
tree67e085277bcc06e0aa7bf305e586ce856ef11078
parent3c55494670745e523f69b56edb66ca0b50a470c2
cs5535: add a generic MFGPT driver

This is based on the old code on arch/x86/kernel/mfgpt_32.c, except it's
not x86 specific, it's modular, and it makes use of a PCI BAR rather than
a random MSR.  Currently module unloading is not supported; it's uncertain
whether or not it can be made work with the hardware.

[akpm@linux-foundation.org: add X86 dependency]
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/geode.h
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/cs5535-mfgpt.c [new file with mode: 0644]
include/linux/cs5535.h