#include <asm/types.h>
#include <asm/setup.h>
-@@ -200,6 +201,53 @@ MACHINE_END
+@@ -200,6 +201,29 @@ MACHINE_END
* maybe the ixdp425 too.
*/
#ifdef CONFIG_MACH_LOFT
+#ifdef CONFIG_LEDS_CLASS
+static struct resource loft_led_resources[] = {
+ {
-+ .name = "J8:1", /* header */
-+ .start = 0,
-+ .end = 0,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
-+ {
-+ .name = "J8:3", /* header */
-+ .start = 1,
-+ .end = 1,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
-+ {
-+ .name = "J8:5", /* header */
-+ .start = 2,
-+ .end = 2,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
-+ {
+ .name = "ready", /* green led, also J8 pin 7 */
+ .start = 3,
+ .end = 3,
+ .flags = IXP4XX_GPIO_LOW,
+ },
-+ {
-+ .name = "J8:9", /* header */
-+ .start = 4,
-+ .end = 4,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
+};
+
+static struct platform_device loft_leds = {
/*
* When the EEPROM is added the MAC address are read from it.
*/
-@@ -244,7 +292,16 @@ static void __init loft_init(void)
+@@ -244,7 +268,16 @@ static void __init loft_init(void)
ixp4xx_sys_init();
#include <asm/setup.h>
#include <asm/memory.h>
-@@ -50,6 +51,48 @@ static struct ixp4xx_i2c_pins nslu2_i2c_
+@@ -50,6 +51,42 @@ static struct ixp4xx_i2c_pins nslu2_i2c_
.scl_pin = NSLU2_SCL_PIN,
};
+ .end = NSLU2_LED_DISK2,
+ .flags = IXP4XX_GPIO_LOW,
+ },
-+ {
-+ .name = "buzzer",
-+ .start = NSLU2_GPIO_BUZZ,
-+ .end = NSLU2_GPIO_BUZZ,
-+ .flags = IXP4XX_GPIO_LOW,
-+ },
+};
+
+static struct platform_device nslu2_leds = {
static struct platform_device nslu2_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
-@@ -103,7 +146,6 @@ static struct platform_device nslu2_uart
+@@ -103,7 +140,6 @@ static struct platform_device nslu2_uart
static struct platform_device *nslu2_devices[] __initdata = {
&nslu2_i2c_controller,
&nslu2_flash,
};
static void nslu2_power_off(void)
-@@ -164,7 +206,18 @@ static void __init nslu2_init(void)
+@@ -164,7 +200,18 @@ static void __init nslu2_init(void)
pm_power_off = nslu2_power_off;
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.15
-# Tue Jan 17 13:02:33 2006
+# Sun Jan 22 10:16:00 2006
#
CONFIG_ARM=y
CONFIG_MMU=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
-CONFIG_INPUT_NSLU2_BEEPER=m
+CONFIG_INPUT_NSLU2_BEEPER=y
# CONFIG_INPUT_UINPUT is not set
#
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
+CONFIG_REED_SOLOMON=y
+CONFIG_REED_SOLOMON_DEC16=y
# Increment the number below (i.e. the digits after PR) when
# making changes within this file or for changes to the patches
# applied to the kernel.
-PR = "r11.${PR_CONFIG}"
+PR = "r12.${PR_CONFIG}"
include ixp4xx-kernel.inc