Soekris net5501 board support code
PATCH 1/1 Soekris net5501 board support code
This patch detects the net5501 board and instantiates the correct platform devices (GPIO and leds).
--- arch/x86/Kconfig | 9 +++ arch/x86/kernel/Makefile | 1 arch/x86/kernel/soekris.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+)
arch/x86/Kconfig +9 -0
@@ -1850,6 +1850,15 @@ config OLPC Add support for detecting the unique features of the OLPC XO hardware. +config SOEKRIS + bool "Soekris net5501 support" + depends on MGEODE_LX + default n + help + Add support for the Soekris net5501 board. You might also want + to enable support for the AMD CS553X GPIOs (CONFIG_GPIO_CS553X) + and leds. + endif # X86_32 config K8_NB
arch/x86/kernel/Makefile +1 -0
@@ -99,6 +99,7 @@ obj-$(CONFIG_SCx200) += scx200.o scx200-y += scx200_32.o obj-$(CONFIG_OLPC) += olpc.o +obj-$(CONFIG_SOEKRIS) += soekris.o microcode-y := microcode_core.o microcode-$(CONFIG_MICROCODE_INTEL) += microcode_intel.o
arch/x86/kernel/soekris.c new file +128 -0
128 lines not on this page · raw message
Signature · 6 lines
Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
Quoted 9 lines · On Fri, 26 Dec 2008 02:26:02 +0100 Alessandro Zummo…
This patch detects the net5501 board and instantiates the correct platform devices (GPIO and leds).
Signed-off-by Alessandro Zummo <[email protected]>--- arch/x86/Kconfig | 9 +++ arch/x86/kernel/Makefile | 1 arch/x86/kernel/soekris.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++
You might want to tell the x86 maintainers about this :)
H. Peter Anvin
reviewerQuoted 5 lines · Andrew Morton
Quoted 3 lines · On Fri, 26 Dec 2008 02:26:02 +0100 Alessandro Zummo…
This patch detects the net5501 board and instantiates the correct platform devices (GPIO and leds).
Quoted 8 lines
Quoted 6 lines
Signed-off-by Alessandro Zummo <[email protected]>--- arch/x86/Kconfig | 9 +++ arch/x86/kernel/Makefile | 1 arch/x86/kernel/soekris.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++You might want to tell the x86 maintainers about this :)
The current consensus (to the extent that one exists) seems to be that platform device drivers belong in drivers[/platform]/x86, instead of in arch/x86. drivers/platform doesn't exist in the current -linus tree, but Len Brown has patches to do it which should be pushed upstream in this merge window. In the meantime, use the old name drivers/misc (a misnomer today, but won't be for much longer.)
-hpa
Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Quoted 4 lines · On Fri, 26 Dec 2008 16:55:06 -0800 "H. Peter Anvin" <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
arch/x86/Kconfig | 9 +++ arch/x86/kernel/Makefile | 1 arch/x86/kernel/soekris.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++
Quoted 8 lines
Quoted 1 line
You might want to tell the x86 maintainers about this :)
The current consensus (to the extent that one exists) seems to be that platform device drivers belong in drivers[/platform]/x86, instead of in
arch/x86.drivers/platformdoesn't exist in the current -linus tree, but Len Brown has patches to do it which should be pushed upstream in this merge window. In the meantime, use the old namedrivers/misc(a misnomer today, but won't be for much longer.)
Hi Peter,
I'm awaiting feedback from the geode mailing list to see if they
want to move to the GPIO class and thus instantiate the GPIO devices in geode_32.c.
The remaining pieces (LEDS) could then be moved to drivers/platform, even if it's not a real driver.
Signature · 6 lines
Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it