summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/linux/linux-2.6.24/mpc8313e-rdb/defconfig16
-rw-r--r--packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-cardbus.patch12
-rw-r--r--packages/linux/linux_2.6.24.bb6
3 files changed, 31 insertions, 3 deletions
diff --git a/packages/linux/linux-2.6.24/mpc8313e-rdb/defconfig b/packages/linux/linux-2.6.24/mpc8313e-rdb/defconfig
index b7ca083ac1..90a73cdd0a 100644
--- a/packages/linux/linux-2.6.24/mpc8313e-rdb/defconfig
+++ b/packages/linux/linux-2.6.24/mpc8313e-rdb/defconfig
@@ -218,7 +218,21 @@ CONFIG_PCI_SYSCALL=y
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY=y
-# CONFIG_PCCARD is not set
+CONFIG_PCCARD=m
+# CONFIG_PCMCIA_DEBUG is not set
+# CONFIG_PCMCIA is not set
+CONFIG_CARDBUS=y
+
+#
+# PC-card bridges
+#
+CONFIG_YENTA=m
+CONFIG_YENTA_O2=y
+CONFIG_YENTA_RICOH=y
+CONFIG_YENTA_TI=y
+CONFIG_YENTA_ENE_TUNE=y
+CONFIG_YENTA_TOSHIBA=y
+CONFIG_PCCARD_NONSTATIC=m
# CONFIG_HOTPLUG_PCI is not set
#
diff --git a/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-cardbus.patch b/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-cardbus.patch
new file mode 100644
index 0000000000..713f089ebf
--- /dev/null
+++ b/packages/linux/linux-2.6.24/mpc8313e-rdb/mpc8313e-rdb-cardbus.patch
@@ -0,0 +1,12 @@
+diff -urN linux-2.6.24.orig/drivers/pcmcia/yenta_socket.c linux-2.6.24/drivers/pcmcia/yenta_socket.c
+--- linux-2.6.24.orig/drivers/pcmcia/yenta_socket.c 2008-01-24 23:58:37.000000000 +0100
++++ linux-2.6.24/drivers/pcmcia/yenta_socket.c 2008-04-16 18:03:38.000000000 +0200
+@@ -551,7 +551,7 @@
+ * max 4 MB, min 16 kB. We try very hard to not get below
+ * the "ACC" values, though.
+ */
+-#define BRIDGE_MEM_MAX 4*1024*1024
++#define BRIDGE_MEM_MAX 64*1024*1024
+ #define BRIDGE_MEM_ACC 128*1024
+ #define BRIDGE_MEM_MIN 16*1024
+
diff --git a/packages/linux/linux_2.6.24.bb b/packages/linux/linux_2.6.24.bb
index fa255403e9..12ed8d8079 100644
--- a/packages/linux/linux_2.6.24.bb
+++ b/packages/linux/linux_2.6.24.bb
@@ -10,7 +10,7 @@ DEFAULT_PREFERENCE_atngw100 = "1"
DEFAULT_PREFERENCE_at32stk1000 = "1"
DEFAULT_PREFERENCE_ts72xx = "1"
-PR = "r11"
+PR = "r12"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
http://kamikaze.waninkoko.info/patches/2.6.24/kamikaze1/broken-out/squashfs-lzma-2.6.24.patch;patch=1 \
@@ -47,7 +47,9 @@ SRC_URI_append_gesbc-9302 = " \
SRC_URI_append_mpc8313e-rdb = "\
file://mpc831x-nand.patch;patch=1 \
file://mpc8313e-rdb-leds.patch;patch=1 \
- file://mpc8313e-rdb-rtc.patch;patch=1"
+ file://mpc8313e-rdb-rtc.patch;patch=1 \
+ file://mpc8313e-rdb-cardbus.patch;patch=1 \
+ "
CMDLINE_gesbc-9302 = "console=ttyAM0 root=mtd5 rootfstype=jffs2 mtdparts=GESBC-NAND:64m(app),-(data)"