netns xfrm: fix "ip xfrm state|policy count" misreport
[safe/jmp/linux-2.6] / arch / arm / mach-ixp4xx / gtwx5715-setup.c
index 25c21d6..0bc7185 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/tty.h>
 #include <linux/serial_8250.h>
 #include <linux/slab.h>
-
 #include <asm/types.h>
 #include <asm/setup.h>
 #include <asm/memory.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/flash.h>
-#include <mach/gtwx5715.h>
+
+/* GPIO 5,6,7 and 12 are hard wired to the Kendin KS8995M Switch
+   and operate as an SPI type interface.  The details of the interface
+   are available on Kendin/Micrel's web site. */
+
+#define GTWX5715_KSSPI_SELECT  5
+#define GTWX5715_KSSPI_TXD     6
+#define GTWX5715_KSSPI_CLOCK   7
+#define GTWX5715_KSSPI_RXD     12
+
+/* The "reset" button is wired to GPIO 3.
+   The GPIO is brought "low" when the button is pushed. */
+
+#define GTWX5715_BUTTON_GPIO   3
+
+/* Board Label      Front Label
+   LED1             Power
+   LED2             Wireless-G
+   LED3             not populated but could be
+   LED4             Internet
+   LED5 - LED8      Controlled by KS8995M Switch
+   LED9             DMZ */
+
+#define GTWX5715_LED1_GPIO     2
+#define GTWX5715_LED2_GPIO     9
+#define GTWX5715_LED3_GPIO     8
+#define GTWX5715_LED4_GPIO     1
+#define GTWX5715_LED9_GPIO     4
 
 /*
  * Xscale UART registers are 32 bits wide with only the least