mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 02:38:59 +02:00
[pxa] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11209 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1ecc7dcbd9
commit
316a885776
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
@@ -1316,6 +1316,7 @@
|
@@ -1316,6 +1316,7 @@
|
||||||
#define GPIO77_LCD_ACBIAS 77 /* LCD AC Bias */
|
#define GPIO77_LCD_ACBIAS 77 /* LCD AC Bias */
|
||||||
#define GPIO78_nCS_2 78 /* chip select 2 */
|
#define GPIO78_nCS_2 78 /* chip select 2 */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
@@ -0,0 +1,165 @@
|
@@ -0,0 +1,165 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/include/asm-arm/arch-pxa/gumstix.h
|
+ * linux/include/asm-arm/arch-pxa/gumstix.h
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/Kconfig
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/Kconfig
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/Kconfig
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/Kconfig
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
|
||||||
@@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations"
|
@@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations"
|
||||||
choice
|
choice
|
||||||
prompt "Select target board"
|
prompt "Select target board"
|
||||||
@ -48,10 +48,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/Kconfig
|
|||||||
config PXA25x
|
config PXA25x
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/Makefile
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/Makefile
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/Makefile
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/Makefile
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/Makefile
|
||||||
@@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o
|
@@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o
|
||||||
obj-$(CONFIG_PXA27x) += pxa27x.o
|
obj-$(CONFIG_PXA27x) += pxa27x.o
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -0,0 +1,76 @@
|
@@ -0,0 +1,76 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/arch/arm/mach-pxa/gumstix.c
|
+ * linux/arch/arm/mach-pxa/gumstix.c
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
Index: linux-2.6.21gum/drivers/pcmcia/Makefile
|
Index: linux-2.6.21.7/drivers/pcmcia/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/pcmcia/Makefile
|
--- linux-2.6.21.7.orig/drivers/pcmcia/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/pcmcia/Makefile
|
+++ linux-2.6.21.7/drivers/pcmcia/Makefile
|
||||||
@@ -69,4 +69,4 @@ sa1100_cs-$(CONFIG_SA1100_SIMPAD) += sa
|
@@ -69,4 +69,4 @@ sa1100_cs-$(CONFIG_SA1100_SIMPAD) += sa
|
||||||
pxa2xx_cs-$(CONFIG_ARCH_LUBBOCK) += pxa2xx_lubbock.o sa1111_generic.o
|
pxa2xx_cs-$(CONFIG_ARCH_LUBBOCK) += pxa2xx_lubbock.o sa1111_generic.o
|
||||||
pxa2xx_cs-$(CONFIG_MACH_MAINSTONE) += pxa2xx_mainstone.o
|
pxa2xx_cs-$(CONFIG_MACH_MAINSTONE) += pxa2xx_mainstone.o
|
||||||
pxa2xx_cs-$(CONFIG_PXA_SHARPSL) += pxa2xx_sharpsl.o
|
pxa2xx_cs-$(CONFIG_PXA_SHARPSL) += pxa2xx_sharpsl.o
|
||||||
-
|
-
|
||||||
+pxa2xx_cs-$(CONFIG_ARCH_GUMSTIX) += pxa2xx_gumstix.o
|
+pxa2xx_cs-$(CONFIG_ARCH_GUMSTIX) += pxa2xx_gumstix.o
|
||||||
Index: linux-2.6.21gum/drivers/pcmcia/pxa2xx_gumstix.c
|
Index: linux-2.6.21.7/drivers/pcmcia/pxa2xx_gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/pcmcia/pxa2xx_gumstix.c
|
+++ linux-2.6.21.7/drivers/pcmcia/pxa2xx_gumstix.c
|
||||||
@@ -0,0 +1,272 @@
|
@@ -0,0 +1,272 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/drivers/pcmcia/pxa2xx_gumstix.c
|
+ * linux/drivers/pcmcia/pxa2xx_gumstix.c
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/configs/gumstix_defconfig
|
Index: linux-2.6.21.7/arch/arm/configs/gumstix_defconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/arch/arm/configs/gumstix_defconfig
|
+++ linux-2.6.21.7/arch/arm/configs/gumstix_defconfig
|
||||||
@@ -0,0 +1,761 @@
|
@@ -0,0 +1,761 @@
|
||||||
+#
|
+#
|
||||||
+# Automatically generated make config: don't edit
|
+# Automatically generated make config: don't edit
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/mtd/maps/gumstix-flash.c
|
Index: linux-2.6.21.7/drivers/mtd/maps/gumstix-flash.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/mtd/maps/gumstix-flash.c
|
+++ linux-2.6.21.7/drivers/mtd/maps/gumstix-flash.c
|
||||||
@@ -0,0 +1,136 @@
|
@@ -0,0 +1,136 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Map driver for the Gumstix platform
|
+ * Map driver for the Gumstix platform
|
||||||
@ -139,10 +139,10 @@ Index: linux-2.6.21gum/drivers/mtd/maps/gumstix-flash.c
|
|||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
+MODULE_AUTHOR("Gumstix, Inc. <gumstix-users@lists.sf.net>");
|
+MODULE_AUTHOR("Gumstix, Inc. <gumstix-users@lists.sf.net>");
|
||||||
+MODULE_DESCRIPTION("MTD map driver for the Gumstix Platform");
|
+MODULE_DESCRIPTION("MTD map driver for the Gumstix Platform");
|
||||||
Index: linux-2.6.21gum/drivers/mtd/maps/Kconfig
|
Index: linux-2.6.21.7/drivers/mtd/maps/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/mtd/maps/Kconfig
|
--- linux-2.6.21.7.orig/drivers/mtd/maps/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/mtd/maps/Kconfig
|
+++ linux-2.6.21.7/drivers/mtd/maps/Kconfig
|
||||||
@@ -131,6 +131,13 @@ config MTD_SBC_GXX
|
@@ -131,6 +131,13 @@ config MTD_SBC_GXX
|
||||||
More info at
|
More info at
|
||||||
<http://www.arcomcontrols.com/products/icp/pc104/processors/SBC_GX1.htm>.
|
<http://www.arcomcontrols.com/products/icp/pc104/processors/SBC_GX1.htm>.
|
||||||
@ -157,10 +157,10 @@ Index: linux-2.6.21gum/drivers/mtd/maps/Kconfig
|
|||||||
config MTD_LUBBOCK
|
config MTD_LUBBOCK
|
||||||
tristate "CFI Flash device mapped on Intel Lubbock XScale eval board"
|
tristate "CFI Flash device mapped on Intel Lubbock XScale eval board"
|
||||||
depends on ARCH_LUBBOCK && MTD_CFI_INTELEXT && MTD_PARTITIONS
|
depends on ARCH_LUBBOCK && MTD_CFI_INTELEXT && MTD_PARTITIONS
|
||||||
Index: linux-2.6.21gum/drivers/mtd/maps/Makefile
|
Index: linux-2.6.21.7/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/mtd/maps/Makefile
|
--- linux-2.6.21.7.orig/drivers/mtd/maps/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/mtd/maps/Makefile
|
+++ linux-2.6.21.7/drivers/mtd/maps/Makefile
|
||||||
@@ -21,6 +21,7 @@ obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o
|
@@ -21,6 +21,7 @@ obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o
|
||||||
obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o
|
obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o
|
||||||
obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
|
obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/pxa2xx_udc.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
@@ -51,6 +51,7 @@
|
@@ -51,6 +51,7 @@
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
#include <asm/unaligned.h>
|
#include <asm/unaligned.h>
|
||||||
|
@ -10,10 +10,10 @@ from hh.org-cvs:
|
|||||||
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
||||||
#
|
#
|
||||||
|
|
||||||
Index: linux-2.6.21gum/arch/arm/mm/proc-xscale.S
|
Index: linux-2.6.21.7/arch/arm/mm/proc-xscale.S
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mm/proc-xscale.S
|
--- linux-2.6.21.7.orig/arch/arm/mm/proc-xscale.S
|
||||||
+++ linux-2.6.21gum/arch/arm/mm/proc-xscale.S
|
+++ linux-2.6.21.7/arch/arm/mm/proc-xscale.S
|
||||||
@@ -474,11 +474,62 @@ ENTRY(cpu_xscale_set_pte_ext)
|
@@ -474,11 +474,62 @@ ENTRY(cpu_xscale_set_pte_ext)
|
||||||
movne r2, #0 @ no -> fault
|
movne r2, #0 @ no -> fault
|
||||||
|
|
||||||
@ -77,10 +77,10 @@ Index: linux-2.6.21gum/arch/arm/mm/proc-xscale.S
|
|||||||
|
|
||||||
.ltorg
|
.ltorg
|
||||||
|
|
||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
@@ -1345,6 +1345,7 @@
|
@@ -1345,6 +1345,7 @@
|
||||||
#define GPIO_ALT_FN_2_OUT 0x280
|
#define GPIO_ALT_FN_2_OUT 0x280
|
||||||
#define GPIO_ALT_FN_3_IN 0x300
|
#define GPIO_ALT_FN_3_IN 0x300
|
||||||
|
@ -6,10 +6,10 @@ added mods from Stefan Eletzhofer and Lothar Weissmann
|
|||||||
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
||||||
#
|
#
|
||||||
|
|
||||||
Index: linux-2.6.21gum/arch/arm/Kconfig
|
Index: linux-2.6.21.7/arch/arm/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/Kconfig
|
--- linux-2.6.21.7.orig/arch/arm/Kconfig
|
||||||
+++ linux-2.6.21gum/arch/arm/Kconfig
|
+++ linux-2.6.21.7/arch/arm/Kconfig
|
||||||
@@ -800,7 +800,7 @@ config KEXEC
|
@@ -800,7 +800,7 @@ config KEXEC
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
@ -32,10 +32,10 @@ Index: linux-2.6.21gum/arch/arm/Kconfig
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
menu "Floating point emulation"
|
menu "Floating point emulation"
|
||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/Makefile
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/Makefile
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/Makefile
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/Makefile
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/Makefile
|
||||||
@@ -32,6 +32,7 @@ obj-$(CONFIG_LEDS) += $(led-y)
|
@@ -32,6 +32,7 @@ obj-$(CONFIG_LEDS) += $(led-y)
|
||||||
# Misc features
|
# Misc features
|
||||||
obj-$(CONFIG_PM) += pm.o sleep.o
|
obj-$(CONFIG_PM) += pm.o sleep.o
|
||||||
@ -44,10 +44,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/Makefile
|
|||||||
|
|
||||||
ifeq ($(CONFIG_PXA27x),y)
|
ifeq ($(CONFIG_PXA27x),y)
|
||||||
obj-$(CONFIG_PM) += standby.o
|
obj-$(CONFIG_PM) += standby.o
|
||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
@@ -0,0 +1,321 @@
|
@@ -0,0 +1,321 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/arch/arm/mach-pxa/cpu-pxa.c
|
+ * linux/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
@ -370,10 +370,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
|||||||
+module_init(pxa_cpu_init);
|
+module_init(pxa_cpu_init);
|
||||||
+module_exit(pxa_cpu_exit);
|
+module_exit(pxa_cpu_exit);
|
||||||
+
|
+
|
||||||
Index: linux-2.6.21gum/Documentation/cpu-freq/user-guide.txt
|
Index: linux-2.6.21.7/Documentation/cpu-freq/user-guide.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/Documentation/cpu-freq/user-guide.txt
|
--- linux-2.6.21.7.orig/Documentation/cpu-freq/user-guide.txt
|
||||||
+++ linux-2.6.21gum/Documentation/cpu-freq/user-guide.txt
|
+++ linux-2.6.21.7/Documentation/cpu-freq/user-guide.txt
|
||||||
@@ -18,7 +18,7 @@
|
@@ -18,7 +18,7 @@
|
||||||
Contents:
|
Contents:
|
||||||
---------
|
---------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/Kconfig
|
Index: linux-2.6.21.7/arch/arm/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/Kconfig
|
--- linux-2.6.21.7.orig/arch/arm/Kconfig
|
||||||
+++ linux-2.6.21gum/arch/arm/Kconfig
|
+++ linux-2.6.21.7/arch/arm/Kconfig
|
||||||
@@ -505,6 +505,8 @@ config PCI_HOST_VIA82C505
|
@@ -505,6 +505,8 @@ config PCI_HOST_VIA82C505
|
||||||
depends on PCI && ARCH_SHARK
|
depends on PCI && ARCH_SHARK
|
||||||
default y
|
default y
|
||||||
@ -11,20 +11,38 @@ Index: linux-2.6.21gum/arch/arm/Kconfig
|
|||||||
source "drivers/pci/Kconfig"
|
source "drivers/pci/Kconfig"
|
||||||
|
|
||||||
source "drivers/pcmcia/Kconfig"
|
source "drivers/pcmcia/Kconfig"
|
||||||
Index: linux-2.6.21gum/drivers/Makefile
|
Index: linux-2.6.21.7/drivers/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/Makefile
|
--- linux-2.6.21.7.orig/drivers/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/Makefile
|
+++ linux-2.6.21.7/drivers/Makefile
|
||||||
@@ -81,3 +81,4 @@ obj-$(CONFIG_GENERIC_TIME) += clocksourc
|
@@ -81,3 +81,4 @@ obj-$(CONFIG_GENERIC_TIME) += clocksourc
|
||||||
obj-$(CONFIG_DMA_ENGINE) += dma/
|
obj-$(CONFIG_DMA_ENGINE) += dma/
|
||||||
obj-$(CONFIG_HID) += hid/
|
obj-$(CONFIG_HID) += hid/
|
||||||
obj-$(CONFIG_PPC_PS3) += ps3/
|
obj-$(CONFIG_PPC_PS3) += ps3/
|
||||||
+obj-$(CONFIG_PROC_GPIO) += gpio/
|
+obj-$(CONFIG_PROC_GPIO) += gpio/
|
||||||
Index: linux-2.6.21gum/drivers/gpio/Kconfig
|
Index: linux-2.6.21.7/drivers/gpio/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- linux-2.6.21.7.orig/drivers/gpio/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/gpio/Kconfig
|
+++ linux-2.6.21.7/drivers/gpio/Kconfig
|
||||||
@@ -0,0 +1,12 @@
|
@@ -2,14 +2,27 @@ menuconfig NEW_GPIO
|
||||||
|
bool "GPIO Support"
|
||||||
|
depends on GENERIC_GPIO
|
||||||
|
help
|
||||||
|
- Say Y to enable Linux GPIO device support. This allows control of
|
||||||
|
- GPIO pins using a character device
|
||||||
|
+ Say Y to enable Linux GPIO device support. This allows control of
|
||||||
|
+ GPIO pins using a character device
|
||||||
|
|
||||||
|
if NEW_GPIO
|
||||||
|
|
||||||
|
config GPIO_DEVICE
|
||||||
|
tristate "GPIO device support"
|
||||||
|
help
|
||||||
|
- This option enables the gpio character device
|
||||||
|
+ This option enables the gpio character device
|
||||||
|
|
||||||
|
endif # NEW_GPIO
|
||||||
|
+
|
||||||
+config PROC_GPIO
|
+config PROC_GPIO
|
||||||
+ tristate "GPIO /proc interface"
|
+ tristate "GPIO /proc interface"
|
||||||
+ depends on PXA25x || PXA27x
|
+ depends on PXA25x || PXA27x
|
||||||
@ -37,18 +55,19 @@ Index: linux-2.6.21gum/drivers/gpio/Kconfig
|
|||||||
+ depends on PROC_GPIO
|
+ depends on PROC_GPIO
|
||||||
+ help
|
+ help
|
||||||
+ This enables printk logging of activity done through /proc/gpio
|
+ This enables printk logging of activity done through /proc/gpio
|
||||||
Index: linux-2.6.21gum/drivers/gpio/Makefile
|
Index: linux-2.6.21.7/drivers/gpio/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- linux-2.6.21.7.orig/drivers/gpio/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/gpio/Makefile
|
+++ linux-2.6.21.7/drivers/gpio/Makefile
|
||||||
@@ -0,0 +1,3 @@
|
@@ -1 +1,4 @@
|
||||||
|
obj-$(CONFIG_GPIO_DEVICE) += gpio_dev.o
|
||||||
|
+
|
||||||
+# Expose GPIOs under /proc
|
+# Expose GPIOs under /proc
|
||||||
+obj-$(CONFIG_PROC_GPIO) += proc_gpio.o
|
+obj-$(CONFIG_PROC_GPIO) += proc_gpio.o
|
||||||
+
|
Index: linux-2.6.21.7/drivers/gpio/proc_gpio.c
|
||||||
Index: linux-2.6.21gum/drivers/gpio/proc_gpio.c
|
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/gpio/proc_gpio.c
|
+++ linux-2.6.21.7/drivers/gpio/proc_gpio.c
|
||||||
@@ -0,0 +1,276 @@
|
@@ -0,0 +1,276 @@
|
||||||
+/*
|
+/*
|
||||||
+ *
|
+ *
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/usb/gadget/ether.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/ether.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/ether.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/ether.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/ether.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/ether.c
|
||||||
@@ -2249,6 +2249,38 @@ static u8 __devinit nibble (unsigned cha
|
@@ -2249,6 +2249,38 @@ static u8 __devinit nibble (unsigned cha
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/cpu-pxa.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
@@ -65,8 +65,8 @@ typedef struct
|
@@ -65,8 +65,8 @@ typedef struct
|
||||||
|
|
||||||
#define CCLKCFG_TURBO 0x1
|
#define CCLKCFG_TURBO 0x1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/net/smc91x.h
|
Index: linux-2.6.21.7/drivers/net/smc91x.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/smc91x.h
|
--- linux-2.6.21.7.orig/drivers/net/smc91x.h
|
||||||
+++ linux-2.6.21gum/drivers/net/smc91x.h
|
+++ linux-2.6.21.7/drivers/net/smc91x.h
|
||||||
@@ -55,6 +55,21 @@
|
@@ -55,6 +55,21 @@
|
||||||
#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l)
|
#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l)
|
||||||
#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l)
|
#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/net/smc91x.c
|
Index: linux-2.6.21.7/drivers/net/smc91x.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/smc91x.c
|
--- linux-2.6.21.7.orig/drivers/net/smc91x.c
|
||||||
+++ linux-2.6.21gum/drivers/net/smc91x.c
|
+++ linux-2.6.21.7/drivers/net/smc91x.c
|
||||||
@@ -1815,6 +1815,39 @@ static int __init smc_findirq(void __iom
|
@@ -1815,6 +1815,39 @@ static int __init smc_findirq(void __iom
|
||||||
return probe_irq_off(cookie);
|
return probe_irq_off(cookie);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/cpufreq/Kconfig
|
Index: linux-2.6.21.7/drivers/cpufreq/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/cpufreq/Kconfig
|
--- linux-2.6.21.7.orig/drivers/cpufreq/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/cpufreq/Kconfig
|
+++ linux-2.6.21.7/drivers/cpufreq/Kconfig
|
||||||
@@ -52,7 +52,7 @@ config CPU_FREQ_STAT_DETAILS
|
@@ -52,7 +52,7 @@ config CPU_FREQ_STAT_DETAILS
|
||||||
|
|
||||||
choice
|
choice
|
||||||
@ -26,10 +26,10 @@ Index: linux-2.6.21gum/drivers/cpufreq/Kconfig
|
|||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config CPU_FREQ_GOV_PERFORMANCE
|
config CPU_FREQ_GOV_PERFORMANCE
|
||||||
Index: linux-2.6.21gum/include/linux/cpufreq.h
|
Index: linux-2.6.21.7/include/linux/cpufreq.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/linux/cpufreq.h
|
--- linux-2.6.21.7.orig/include/linux/cpufreq.h
|
||||||
+++ linux-2.6.21gum/include/linux/cpufreq.h
|
+++ linux-2.6.21.7/include/linux/cpufreq.h
|
||||||
@@ -286,6 +286,9 @@ extern struct cpufreq_governor cpufreq_g
|
@@ -286,6 +286,9 @@ extern struct cpufreq_governor cpufreq_g
|
||||||
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE)
|
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE)
|
||||||
extern struct cpufreq_governor cpufreq_gov_userspace;
|
extern struct cpufreq_governor cpufreq_gov_userspace;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/net/bluetooth/Kconfig
|
Index: linux-2.6.21.7/net/bluetooth/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/net/bluetooth/Kconfig
|
--- linux-2.6.21.7.orig/net/bluetooth/Kconfig
|
||||||
+++ linux-2.6.21gum/net/bluetooth/Kconfig
|
+++ linux-2.6.21.7/net/bluetooth/Kconfig
|
||||||
@@ -30,6 +30,12 @@ menuconfig BT
|
@@ -30,6 +30,12 @@ menuconfig BT
|
||||||
Bluetooth kernel modules are provided in the BlueZ packages.
|
Bluetooth kernel modules are provided in the BlueZ packages.
|
||||||
For more information, see <http://www.bluez.org/>.
|
For more information, see <http://www.bluez.org/>.
|
||||||
@ -15,10 +15,10 @@ Index: linux-2.6.21gum/net/bluetooth/Kconfig
|
|||||||
config BT_L2CAP
|
config BT_L2CAP
|
||||||
tristate "L2CAP protocol support"
|
tristate "L2CAP protocol support"
|
||||||
depends on BT
|
depends on BT
|
||||||
Index: linux-2.6.21gum/net/bluetooth/Makefile
|
Index: linux-2.6.21.7/net/bluetooth/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/net/bluetooth/Makefile
|
--- linux-2.6.21.7.orig/net/bluetooth/Makefile
|
||||||
+++ linux-2.6.21gum/net/bluetooth/Makefile
|
+++ linux-2.6.21.7/net/bluetooth/Makefile
|
||||||
@@ -9,5 +9,6 @@ obj-$(CONFIG_BT_RFCOMM) += rfcomm/
|
@@ -9,5 +9,6 @@ obj-$(CONFIG_BT_RFCOMM) += rfcomm/
|
||||||
obj-$(CONFIG_BT_BNEP) += bnep/
|
obj-$(CONFIG_BT_BNEP) += bnep/
|
||||||
obj-$(CONFIG_BT_CMTP) += cmtp/
|
obj-$(CONFIG_BT_CMTP) += cmtp/
|
||||||
@ -26,10 +26,10 @@ Index: linux-2.6.21gum/net/bluetooth/Makefile
|
|||||||
+obj-$(CONFIG_BT_GUMSTIX)+= gumstix_bluetooth.o
|
+obj-$(CONFIG_BT_GUMSTIX)+= gumstix_bluetooth.o
|
||||||
|
|
||||||
bluetooth-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
|
bluetooth-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
|
||||||
Index: linux-2.6.21gum/net/bluetooth/af_bluetooth.c
|
Index: linux-2.6.21.7/net/bluetooth/af_bluetooth.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/net/bluetooth/af_bluetooth.c
|
--- linux-2.6.21.7.orig/net/bluetooth/af_bluetooth.c
|
||||||
+++ linux-2.6.21gum/net/bluetooth/af_bluetooth.c
|
+++ linux-2.6.21.7/net/bluetooth/af_bluetooth.c
|
||||||
@@ -327,12 +327,20 @@ static struct net_proto_family bt_sock_f
|
@@ -327,12 +327,20 @@ static struct net_proto_family bt_sock_f
|
||||||
.create = bt_sock_create,
|
.create = bt_sock_create,
|
||||||
};
|
};
|
||||||
@ -51,10 +51,10 @@ Index: linux-2.6.21gum/net/bluetooth/af_bluetooth.c
|
|||||||
err = bt_sysfs_init();
|
err = bt_sysfs_init();
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
Index: linux-2.6.21gum/net/bluetooth/gumstix_bluetooth.c
|
Index: linux-2.6.21.7/net/bluetooth/gumstix_bluetooth.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/net/bluetooth/gumstix_bluetooth.c
|
+++ linux-2.6.21.7/net/bluetooth/gumstix_bluetooth.c
|
||||||
@@ -0,0 +1,50 @@
|
@@ -0,0 +1,50 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Gumstix bluetooth module intialization driver
|
+ * Gumstix bluetooth module intialization driver
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: linux-2.6.21gum/drivers/net/Kconfig
|
Index: linux-2.6.21.7/drivers/net/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/Kconfig
|
--- linux-2.6.21.7.orig/drivers/net/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/net/Kconfig
|
+++ linux-2.6.21.7/drivers/net/Kconfig
|
||||||
@@ -836,6 +836,12 @@ config SMC91X
|
@@ -959,6 +959,12 @@ config SMC91X
|
||||||
module, say M here and read <file:Documentation/modules.txt> as well
|
module, say M here and read <file:Documentation/modules.txt> as well
|
||||||
as <file:Documentation/networking/net-modules.txt>.
|
as <file:Documentation/networking/net-modules.txt>.
|
||||||
|
|
||||||
@ -15,11 +15,11 @@ Index: linux-2.6.21gum/drivers/net/Kconfig
|
|||||||
config SMC9194
|
config SMC9194
|
||||||
tristate "SMC 9194 support"
|
tristate "SMC 9194 support"
|
||||||
depends on NET_VENDOR_SMC && (ISA || MAC && BROKEN)
|
depends on NET_VENDOR_SMC && (ISA || MAC && BROKEN)
|
||||||
Index: linux-2.6.21gum/drivers/net/Makefile
|
Index: linux-2.6.21.7/drivers/net/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/Makefile
|
--- linux-2.6.21.7.orig/drivers/net/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/net/Makefile
|
+++ linux-2.6.21.7/drivers/net/Makefile
|
||||||
@@ -200,6 +200,7 @@ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
|
@@ -201,6 +201,7 @@ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
|
||||||
|
|
||||||
obj-$(CONFIG_MACB) += macb.o
|
obj-$(CONFIG_MACB) += macb.o
|
||||||
|
|
||||||
@ -27,10 +27,10 @@ Index: linux-2.6.21gum/drivers/net/Makefile
|
|||||||
obj-$(CONFIG_ARM) += arm/
|
obj-$(CONFIG_ARM) += arm/
|
||||||
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
||||||
obj-$(CONFIG_TR) += tokenring/
|
obj-$(CONFIG_TR) += tokenring/
|
||||||
Index: linux-2.6.21gum/drivers/net/smc91x.c
|
Index: linux-2.6.21.7/drivers/net/smc91x.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/smc91x.c
|
--- linux-2.6.21.7.orig/drivers/net/smc91x.c
|
||||||
+++ linux-2.6.21gum/drivers/net/smc91x.c
|
+++ linux-2.6.21.7/drivers/net/smc91x.c
|
||||||
@@ -2373,6 +2373,10 @@ static struct platform_driver smc_driver
|
@@ -2373,6 +2373,10 @@ static struct platform_driver smc_driver
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -53,10 +53,10 @@ Index: linux-2.6.21gum/drivers/net/smc91x.c
|
|||||||
return platform_driver_register(&smc_driver);
|
return platform_driver_register(&smc_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/net/gumstix-smc91x.c
|
Index: linux-2.6.21.7/drivers/net/gumstix-smc91x.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/net/gumstix-smc91x.c
|
+++ linux-2.6.21.7/drivers/net/gumstix-smc91x.c
|
||||||
@@ -0,0 +1,143 @@
|
@@ -0,0 +1,143 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Gumstix SMC91C111 chip intialization driver
|
+ * Gumstix SMC91C111 chip intialization driver
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
Index: linux-2.6.21.7/drivers/usb/gadget/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/Kconfig
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
+++ linux-2.6.21.7/drivers/usb/gadget/Kconfig
|
||||||
@@ -56,6 +56,14 @@ config USB_GADGET_DEBUG_FILES
|
@@ -56,6 +56,14 @@ config USB_GADGET_DEBUG_FILES
|
||||||
config USB_GADGET_SELECTED
|
config USB_GADGET_SELECTED
|
||||||
boolean
|
boolean
|
||||||
@ -17,10 +17,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
|||||||
#
|
#
|
||||||
# USB Peripheral Controller Support
|
# USB Peripheral Controller Support
|
||||||
#
|
#
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
|
Index: linux-2.6.21.7/drivers/usb/gadget/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/Makefile
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/Makefile
|
+++ linux-2.6.21.7/drivers/usb/gadget/Makefile
|
||||||
@@ -8,6 +8,7 @@ obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
@@ -8,6 +8,7 @@ obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
||||||
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
||||||
obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
|
obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
|
||||||
@ -29,10 +29,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
|
|||||||
|
|
||||||
#
|
#
|
||||||
# USB gadget drivers
|
# USB gadget drivers
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/pxa2xx_udc.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
|
||||||
@@ -2752,8 +2752,16 @@ static struct platform_driver udc_driver
|
@@ -2752,8 +2752,16 @@ static struct platform_driver udc_driver
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -50,10 +50,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
|
|||||||
printk(KERN_INFO "%s: version %s\n", driver_name, DRIVER_VERSION);
|
printk(KERN_INFO "%s: version %s\n", driver_name, DRIVER_VERSION);
|
||||||
return platform_driver_register(&udc_driver);
|
return platform_driver_register(&udc_driver);
|
||||||
}
|
}
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/gumstix_gadget.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/gumstix_gadget.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/gumstix_gadget.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/gumstix_gadget.c
|
||||||
@@ -0,0 +1,49 @@
|
@@ -0,0 +1,49 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Gumstix USB gadget intialization driver
|
+ * Gumstix USB gadget intialization driver
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/i2c/busses/i2c-pxa.c
|
Index: linux-2.6.21.7/drivers/i2c/busses/i2c-pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/i2c/busses/i2c-pxa.c
|
--- linux-2.6.21.7.orig/drivers/i2c/busses/i2c-pxa.c
|
||||||
+++ linux-2.6.21gum/drivers/i2c/busses/i2c-pxa.c
|
+++ linux-2.6.21.7/drivers/i2c/busses/i2c-pxa.c
|
||||||
@@ -32,6 +32,7 @@
|
@@ -32,6 +32,7 @@
|
||||||
#include <linux/i2c-pxa.h>
|
#include <linux/i2c-pxa.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/mmc/pxamci.c
|
Index: linux-2.6.21.7/drivers/mmc/pxamci.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/mmc/pxamci.c
|
--- linux-2.6.21.7.orig/drivers/mmc/pxamci.c
|
||||||
+++ linux-2.6.21gum/drivers/mmc/pxamci.c
|
+++ linux-2.6.21.7/drivers/mmc/pxamci.c
|
||||||
@@ -366,8 +366,7 @@ static void pxamci_set_ios(struct mmc_ho
|
@@ -366,8 +366,7 @@ static void pxamci_set_ios(struct mmc_ho
|
||||||
|
|
||||||
if (ios->clock) {
|
if (ios->clock) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/cpu-pxa.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
@@ -60,7 +60,7 @@ typedef struct
|
@@ -60,7 +60,7 @@ typedef struct
|
||||||
|
|
||||||
/* Define the refresh period in mSec for the SDRAM and the number of rows */
|
/* Define the refresh period in mSec for the SDRAM and the number of rows */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/serial/pxa.c
|
Index: linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/serial/pxa.c
|
--- linux-2.6.21.7.orig/drivers/serial/pxa.c
|
||||||
+++ linux-2.6.21gum/drivers/serial/pxa.c
|
+++ linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
@@ -235,15 +235,19 @@ static inline irqreturn_t serial_pxa_irq
|
@@ -235,15 +235,19 @@ static inline irqreturn_t serial_pxa_irq
|
||||||
struct uart_pxa_port *up = dev_id;
|
struct uart_pxa_port *up = dev_id;
|
||||||
unsigned int iir, lsr;
|
unsigned int iir, lsr;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/serial/pxa.c
|
Index: linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/serial/pxa.c
|
--- linux-2.6.21.7.orig/drivers/serial/pxa.c
|
||||||
+++ linux-2.6.21gum/drivers/serial/pxa.c
|
+++ linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
@@ -57,6 +57,8 @@ struct uart_pxa_port {
|
@@ -57,6 +57,8 @@ struct uart_pxa_port {
|
||||||
unsigned int lsr_break_flag;
|
unsigned int lsr_break_flag;
|
||||||
unsigned int cken;
|
unsigned int cken;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/tools/mach-types
|
Index: linux-2.6.21.7/arch/arm/tools/mach-types
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/tools/mach-types
|
--- linux-2.6.21.7.orig/arch/arm/tools/mach-types
|
||||||
+++ linux-2.6.21gum/arch/arm/tools/mach-types
|
+++ linux-2.6.21.7/arch/arm/tools/mach-types
|
||||||
@@ -387,7 +387,7 @@ s5c7375 ARCH_S5C7375 S5C7375 369
|
@@ -387,7 +387,7 @@ s5c7375 ARCH_S5C7375 S5C7375 369
|
||||||
spearhead ARCH_SPEARHEAD SPEARHEAD 370
|
spearhead ARCH_SPEARHEAD SPEARHEAD 370
|
||||||
pantera ARCH_PANTERA PANTERA 371
|
pantera ARCH_PANTERA PANTERA 371
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/include/sound/pcm_params.h
|
Index: linux-2.6.21.7/include/sound/pcm_params.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/sound/pcm_params.h
|
--- linux-2.6.21.7.orig/include/sound/pcm_params.h
|
||||||
+++ linux-2.6.21gum/include/sound/pcm_params.h
|
+++ linux-2.6.21.7/include/sound/pcm_params.h
|
||||||
@@ -179,16 +179,8 @@ static inline int snd_mask_single(const
|
@@ -179,16 +179,8 @@ static inline int snd_mask_single(const
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -21,10 +21,10 @@ Index: linux-2.6.21gum/include/sound/pcm_params.h
|
|||||||
|
|
||||||
static inline int snd_mask_refine_first(struct snd_mask *mask)
|
static inline int snd_mask_refine_first(struct snd_mask *mask)
|
||||||
{
|
{
|
||||||
Index: linux-2.6.21gum/sound/core/pcm_lib.c
|
Index: linux-2.6.21.7/sound/core/pcm_lib.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/core/pcm_lib.c
|
--- linux-2.6.21.7.orig/sound/core/pcm_lib.c
|
||||||
+++ linux-2.6.21gum/sound/core/pcm_lib.c
|
+++ linux-2.6.21.7/sound/core/pcm_lib.c
|
||||||
@@ -2128,3 +2128,18 @@ snd_pcm_sframes_t snd_pcm_lib_readv(stru
|
@@ -2128,3 +2128,18 @@ snd_pcm_sframes_t snd_pcm_lib_readv(stru
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,10 +44,10 @@ Index: linux-2.6.21gum/sound/core/pcm_lib.c
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+EXPORT_SYMBOL(snd_mask_refine);
|
+EXPORT_SYMBOL(snd_mask_refine);
|
||||||
Index: linux-2.6.21gum/sound/core/pcm_native.c
|
Index: linux-2.6.21.7/sound/core/pcm_native.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/core/pcm_native.c
|
--- linux-2.6.21.7.orig/sound/core/pcm_native.c
|
||||||
+++ linux-2.6.21gum/sound/core/pcm_native.c
|
+++ linux-2.6.21.7/sound/core/pcm_native.c
|
||||||
@@ -3450,3 +3450,9 @@ const struct file_operations snd_pcm_f_o
|
@@ -3450,3 +3450,9 @@ const struct file_operations snd_pcm_f_o
|
||||||
.fasync = snd_pcm_fasync,
|
.fasync = snd_pcm_fasync,
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/sound/pci/ac97/ac97_codec.c
|
Index: linux-2.6.21.7/sound/pci/ac97/ac97_codec.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/pci/ac97/ac97_codec.c
|
--- linux-2.6.21.7.orig/sound/pci/ac97/ac97_codec.c
|
||||||
+++ linux-2.6.21gum/sound/pci/ac97/ac97_codec.c
|
+++ linux-2.6.21.7/sound/pci/ac97/ac97_codec.c
|
||||||
@@ -158,7 +158,7 @@ static const struct ac97_codec_id snd_ac
|
@@ -158,7 +158,7 @@ static const struct ac97_codec_id snd_ac
|
||||||
{ 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk
|
{ 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk
|
||||||
{ 0x4e534331, 0xffffffff, "LM4549", NULL, NULL },
|
{ 0x4e534331, 0xffffffff, "LM4549", NULL, NULL },
|
||||||
@ -11,10 +11,10 @@ Index: linux-2.6.21gum/sound/pci/ac97/ac97_codec.c
|
|||||||
{ 0x53494c20, 0xffffffe0, "Si3036,8", mpatch_si3036, mpatch_si3036, AC97_MODEM_PATCH },
|
{ 0x53494c20, 0xffffffe0, "Si3036,8", mpatch_si3036, mpatch_si3036, AC97_MODEM_PATCH },
|
||||||
{ 0x54524102, 0xffffffff, "TR28022", NULL, NULL },
|
{ 0x54524102, 0xffffffff, "TR28022", NULL, NULL },
|
||||||
{ 0x54524106, 0xffffffff, "TR28026", NULL, NULL },
|
{ 0x54524106, 0xffffffff, "TR28026", NULL, NULL },
|
||||||
Index: linux-2.6.21gum/sound/pci/ac97/ac97_patch.c
|
Index: linux-2.6.21.7/sound/pci/ac97/ac97_patch.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/pci/ac97/ac97_patch.c
|
--- linux-2.6.21.7.orig/sound/pci/ac97/ac97_patch.c
|
||||||
+++ linux-2.6.21gum/sound/pci/ac97/ac97_patch.c
|
+++ linux-2.6.21.7/sound/pci/ac97/ac97_patch.c
|
||||||
@@ -29,6 +29,10 @@
|
@@ -29,6 +29,10 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/sound/soc/pxa/Kconfig
|
Index: linux-2.6.21.7/sound/soc/pxa/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/soc/pxa/Kconfig
|
--- linux-2.6.21.7.orig/sound/soc/pxa/Kconfig
|
||||||
+++ linux-2.6.21gum/sound/soc/pxa/Kconfig
|
+++ linux-2.6.21.7/sound/soc/pxa/Kconfig
|
||||||
@@ -16,6 +16,7 @@ config SND_PXA2XX_SOC_AC97
|
@@ -16,6 +16,7 @@ config SND_PXA2XX_SOC_AC97
|
||||||
tristate
|
tristate
|
||||||
select AC97_BUS
|
select AC97_BUS
|
||||||
@ -23,10 +23,10 @@ Index: linux-2.6.21gum/sound/soc/pxa/Kconfig
|
|||||||
+ Say Y if you want to add support for SoC audio on Gumstix
|
+ Say Y if you want to add support for SoC audio on Gumstix
|
||||||
+
|
+
|
||||||
endmenu
|
endmenu
|
||||||
Index: linux-2.6.21gum/sound/soc/pxa/Makefile
|
Index: linux-2.6.21.7/sound/soc/pxa/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/soc/pxa/Makefile
|
--- linux-2.6.21.7.orig/sound/soc/pxa/Makefile
|
||||||
+++ linux-2.6.21gum/sound/soc/pxa/Makefile
|
+++ linux-2.6.21.7/sound/soc/pxa/Makefile
|
||||||
@@ -12,9 +12,11 @@ snd-soc-corgi-objs := corgi.o
|
@@ -12,9 +12,11 @@ snd-soc-corgi-objs := corgi.o
|
||||||
snd-soc-poodle-objs := poodle.o
|
snd-soc-poodle-objs := poodle.o
|
||||||
snd-soc-tosa-objs := tosa.o
|
snd-soc-tosa-objs := tosa.o
|
||||||
@ -39,10 +39,10 @@ Index: linux-2.6.21gum/sound/soc/pxa/Makefile
|
|||||||
obj-$(CONFIG_SND_PXA2XX_SOC_SPITZ) += snd-soc-spitz.o
|
obj-$(CONFIG_SND_PXA2XX_SOC_SPITZ) += snd-soc-spitz.o
|
||||||
+obj-$(CONFIG_SND_PXA2XX_SOC_GUMSTIX) += snd-soc-gumstix.o
|
+obj-$(CONFIG_SND_PXA2XX_SOC_GUMSTIX) += snd-soc-gumstix.o
|
||||||
|
|
||||||
Index: linux-2.6.21gum/sound/soc/pxa/gumstix.c
|
Index: linux-2.6.21.7/sound/soc/pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/sound/soc/pxa/gumstix.c
|
+++ linux-2.6.21.7/sound/soc/pxa/gumstix.c
|
||||||
@@ -0,0 +1,109 @@
|
@@ -0,0 +1,109 @@
|
||||||
+/*
|
+/*
|
||||||
+ * gumstix.c -- SoC audio for Gumstix
|
+ * gumstix.c -- SoC audio for Gumstix
|
||||||
@ -153,10 +153,10 @@ Index: linux-2.6.21gum/sound/soc/pxa/gumstix.c
|
|||||||
+MODULE_AUTHOR("Craig Hughes <craig@gumstix.com>");
|
+MODULE_AUTHOR("Craig Hughes <craig@gumstix.com>");
|
||||||
+MODULE_DESCRIPTION("ALSA SoC Gumstix");
|
+MODULE_DESCRIPTION("ALSA SoC Gumstix");
|
||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
Index: linux-2.6.21gum/sound/soc/codecs/ac97.c
|
Index: linux-2.6.21.7/sound/soc/codecs/ac97.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/soc/codecs/ac97.c
|
--- linux-2.6.21.7.orig/sound/soc/codecs/ac97.c
|
||||||
+++ linux-2.6.21gum/sound/soc/codecs/ac97.c
|
+++ linux-2.6.21.7/sound/soc/codecs/ac97.c
|
||||||
@@ -43,7 +43,7 @@ static int ac97_prepare(struct snd_pcm_s
|
@@ -43,7 +43,7 @@ static int ac97_prepare(struct snd_pcm_s
|
||||||
#define STD_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
|
#define STD_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
|
||||||
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
|
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
|
||||||
@ -175,10 +175,10 @@ Index: linux-2.6.21gum/sound/soc/codecs/ac97.c
|
|||||||
static unsigned int ac97_read(struct snd_soc_codec *codec,
|
static unsigned int ac97_read(struct snd_soc_codec *codec,
|
||||||
unsigned int reg)
|
unsigned int reg)
|
||||||
{
|
{
|
||||||
Index: linux-2.6.21gum/sound/soc/codecs/ac97.h
|
Index: linux-2.6.21.7/sound/soc/codecs/ac97.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/soc/codecs/ac97.h
|
--- linux-2.6.21.7.orig/sound/soc/codecs/ac97.h
|
||||||
+++ linux-2.6.21gum/sound/soc/codecs/ac97.h
|
+++ linux-2.6.21.7/sound/soc/codecs/ac97.h
|
||||||
@@ -14,5 +14,6 @@
|
@@ -14,5 +14,6 @@
|
||||||
#define __LINUX_SND_SOC_AC97_H
|
#define __LINUX_SND_SOC_AC97_H
|
||||||
|
|
||||||
@ -186,10 +186,10 @@ Index: linux-2.6.21gum/sound/soc/codecs/ac97.h
|
|||||||
+extern struct snd_soc_codec_dai ac97_dai;
|
+extern struct snd_soc_codec_dai ac97_dai;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Index: linux-2.6.21gum/sound/soc/pxa/pxa2xx-ac97.c
|
Index: linux-2.6.21.7/sound/soc/pxa/pxa2xx-ac97.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/sound/soc/pxa/pxa2xx-ac97.c
|
--- linux-2.6.21.7.orig/sound/soc/pxa/pxa2xx-ac97.c
|
||||||
+++ linux-2.6.21gum/sound/soc/pxa/pxa2xx-ac97.c
|
+++ linux-2.6.21.7/sound/soc/pxa/pxa2xx-ac97.c
|
||||||
@@ -154,18 +154,26 @@ static void pxa2xx_ac97_warm_reset(struc
|
@@ -154,18 +154,26 @@ static void pxa2xx_ac97_warm_reset(struc
|
||||||
|
|
||||||
static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97)
|
static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/boot/compressed/misc.c
|
Index: linux-2.6.21.7/arch/arm/boot/compressed/misc.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/boot/compressed/misc.c
|
--- linux-2.6.21.7.orig/arch/arm/boot/compressed/misc.c
|
||||||
+++ linux-2.6.21gum/arch/arm/boot/compressed/misc.c
|
+++ linux-2.6.21.7/arch/arm/boot/compressed/misc.c
|
||||||
@@ -322,7 +322,6 @@ void flush_window(void)
|
@@ -322,7 +322,6 @@ void flush_window(void)
|
||||||
bytes_out += (ulg)outcnt;
|
bytes_out += (ulg)outcnt;
|
||||||
output_ptr += (ulg)outcnt;
|
output_ptr += (ulg)outcnt;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/serial/pxa.c
|
Index: linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/serial/pxa.c
|
--- linux-2.6.21.7.orig/drivers/serial/pxa.c
|
||||||
+++ linux-2.6.21gum/drivers/serial/pxa.c
|
+++ linux-2.6.21.7/drivers/serial/pxa.c
|
||||||
@@ -41,6 +41,7 @@
|
@@ -41,6 +41,7 @@
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/tty.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/gumstix.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/gumstix.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -29,19 +29,55 @@
|
@@ -29,19 +29,55 @@
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
@ -61,10 +61,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct pxa2xx_udc_mach_info gumstix_udc_info __initdata = {
|
static struct pxa2xx_udc_mach_info gumstix_udc_info __initdata = {
|
||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/gumstix.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/gumstix.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
@@ -36,6 +36,12 @@
|
@@ -36,6 +36,12 @@
|
||||||
#define GPIO_GUMSTIX_USB_GPIOx_CON_MD (GPIO_GUMSTIX_USB_GPIOx | GPIO_OUT)
|
#define GPIO_GUMSTIX_USB_GPIOx_CON_MD (GPIO_GUMSTIX_USB_GPIOx | GPIO_OUT)
|
||||||
#define GPIO_GUMSTIX_USB_GPIOx_DIS_MD (GPIO_GUMSTIX_USB_GPIOx | GPIO_IN)
|
#define GPIO_GUMSTIX_USB_GPIOx_DIS_MD (GPIO_GUMSTIX_USB_GPIOx | GPIO_IN)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Change the default alingment handling to not be silent failure
|
Change the default alingment handling to not be silent failure
|
||||||
Index: linux-2.6.21gum/arch/arm/mm/alignment.c
|
Index: linux-2.6.21.7/arch/arm/mm/alignment.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mm/alignment.c
|
--- linux-2.6.21.7.orig/arch/arm/mm/alignment.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mm/alignment.c
|
+++ linux-2.6.21.7/arch/arm/mm/alignment.c
|
||||||
@@ -797,6 +797,8 @@ static int __init alignment_init(void)
|
@@ -797,6 +797,8 @@ static int __init alignment_init(void)
|
||||||
res->write_proc = proc_alignment_write;
|
res->write_proc = proc_alignment_write;
|
||||||
#endif
|
#endif
|
||||||
@ -12,10 +12,10 @@ Index: linux-2.6.21gum/arch/arm/mm/alignment.c
|
|||||||
hook_fault_code(1, do_alignment, SIGILL, "alignment exception");
|
hook_fault_code(1, do_alignment, SIGILL, "alignment exception");
|
||||||
hook_fault_code(3, do_alignment, SIGILL, "alignment exception");
|
hook_fault_code(3, do_alignment, SIGILL, "alignment exception");
|
||||||
|
|
||||||
Index: linux-2.6.21gum/arch/arm/Kconfig
|
Index: linux-2.6.21.7/arch/arm/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/Kconfig
|
--- linux-2.6.21.7.orig/arch/arm/Kconfig
|
||||||
+++ linux-2.6.21gum/arch/arm/Kconfig
|
+++ linux-2.6.21.7/arch/arm/Kconfig
|
||||||
@@ -709,6 +709,19 @@ config ALIGNMENT_TRAP
|
@@ -709,6 +709,19 @@ config ALIGNMENT_TRAP
|
||||||
correct operation of some network protocols. With an IP-only
|
correct operation of some network protocols. With an IP-only
|
||||||
configuration it is safe to say N, otherwise say Y.
|
configuration it is safe to say N, otherwise say Y.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/cpu-pxa.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/cpu-pxa.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
|
||||||
@@ -42,7 +42,7 @@
|
@@ -42,7 +42,7 @@
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/fs/ramfs/inode.c
|
Index: linux-2.6.21.7/fs/ramfs/inode.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/fs/ramfs/inode.c
|
--- linux-2.6.21.7.orig/fs/ramfs/inode.c
|
||||||
+++ linux-2.6.21gum/fs/ramfs/inode.c
|
+++ linux-2.6.21.7/fs/ramfs/inode.c
|
||||||
@@ -33,6 +33,7 @@
|
@@ -33,6 +33,7 @@
|
||||||
#include <linux/smp_lock.h>
|
#include <linux/smp_lock.h>
|
||||||
#include <linux/backing-dev.h>
|
#include <linux/backing-dev.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/gumstix.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/gumstix.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -25,6 +25,7 @@
|
@@ -25,6 +25,7 @@
|
||||||
#include <asm/arch/udc.h>
|
#include <asm/arch/udc.h>
|
||||||
#include <asm/arch/mmc.h>
|
#include <asm/arch/mmc.h>
|
||||||
@ -110,10 +110,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
|||||||
(void) platform_add_devices(devices, ARRAY_SIZE(devices));
|
(void) platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/video/Kconfig
|
Index: linux-2.6.21.7/drivers/video/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/Kconfig
|
--- linux-2.6.21.7.orig/drivers/video/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/video/Kconfig
|
+++ linux-2.6.21.7/drivers/video/Kconfig
|
||||||
@@ -1495,6 +1495,37 @@ config FB_PXA
|
@@ -1495,6 +1495,37 @@ config FB_PXA
|
||||||
|
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
@ -152,10 +152,10 @@ Index: linux-2.6.21gum/drivers/video/Kconfig
|
|||||||
config FB_PXA_PARAMETERS
|
config FB_PXA_PARAMETERS
|
||||||
bool "PXA LCD command line parameters"
|
bool "PXA LCD command line parameters"
|
||||||
default n
|
default n
|
||||||
Index: linux-2.6.21gum/drivers/video/pxafb.c
|
Index: linux-2.6.21.7/drivers/video/pxafb.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/pxafb.c
|
--- linux-2.6.21.7.orig/drivers/video/pxafb.c
|
||||||
+++ linux-2.6.21gum/drivers/video/pxafb.c
|
+++ linux-2.6.21.7/drivers/video/pxafb.c
|
||||||
@@ -22,6 +22,7 @@
|
@@ -22,6 +22,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
Index: linux-2.6.21.7/drivers/usb/gadget/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/Kconfig
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
+++ linux-2.6.21.7/drivers/usb/gadget/Kconfig
|
||||||
@@ -129,6 +129,28 @@ config USB_PXA2XX_SMALL
|
@@ -129,6 +129,28 @@ config USB_PXA2XX_SMALL
|
||||||
default y if USB_ETH
|
default y if USB_ETH
|
||||||
default y if USB_G_SERIAL
|
default y if USB_G_SERIAL
|
||||||
@ -31,10 +31,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
|
|||||||
config USB_GADGET_GOKU
|
config USB_GADGET_GOKU
|
||||||
boolean "Toshiba TC86C001 'Goku-S'"
|
boolean "Toshiba TC86C001 'Goku-S'"
|
||||||
depends on PCI
|
depends on PCI
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
|
Index: linux-2.6.21.7/drivers/usb/gadget/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/Makefile
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/Makefile
|
+++ linux-2.6.21.7/drivers/usb/gadget/Makefile
|
||||||
@@ -7,6 +7,7 @@ obj-$(CONFIG_USB_PXA2XX) += pxa2xx_udc.o
|
@@ -7,6 +7,7 @@ obj-$(CONFIG_USB_PXA2XX) += pxa2xx_udc.o
|
||||||
obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
||||||
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
||||||
@ -43,10 +43,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
|
|||||||
obj-$(CONFIG_USB_AT91) += at91_udc.o
|
obj-$(CONFIG_USB_AT91) += at91_udc.o
|
||||||
obj-$(CONFIG_USB_GADGET_GUMSTIX) += gumstix_gadget.o
|
obj-$(CONFIG_USB_GADGET_GUMSTIX) += gumstix_gadget.o
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/pxa27x_udc.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/pxa27x_udc.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/pxa27x_udc.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/pxa27x_udc.c
|
||||||
@@ -0,0 +1,2352 @@
|
@@ -0,0 +1,2352 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/drivers/usb/gadget/pxa27x_udc.c
|
+ * linux/drivers/usb/gadget/pxa27x_udc.c
|
||||||
@ -2400,10 +2400,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/pxa27x_udc.c
|
|||||||
+MODULE_AUTHOR("Frank Becker, Robert Schwebel, David Brownell");
|
+MODULE_AUTHOR("Frank Becker, Robert Schwebel, David Brownell");
|
||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
+
|
+
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/pxa27x_udc.h
|
Index: linux-2.6.21.7/drivers/usb/gadget/pxa27x_udc.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/pxa27x_udc.h
|
+++ linux-2.6.21.7/drivers/usb/gadget/pxa27x_udc.h
|
||||||
@@ -0,0 +1,332 @@
|
@@ -0,0 +1,332 @@
|
||||||
+/*
|
+/*
|
||||||
+ * linux/drivers/usb/gadget/pxa27x_udc.h
|
+ * linux/drivers/usb/gadget/pxa27x_udc.h
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/gumstix.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/gumstix.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -22,6 +22,7 @@
|
@@ -22,6 +22,7 @@
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
@ -45,10 +45,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
|||||||
pxa_set_udc_info(&gumstix_udc_info);
|
pxa_set_udc_info(&gumstix_udc_info);
|
||||||
#if defined(CONFIG_FB_PXA_ALPS_CDOLLAR) | defined(CONFIG_FB_PXA_SHARP_LQ043_PSP) | defined(CONFIG_FB_PXA_SAMSUNG_LTE430WQ_F0C)
|
#if defined(CONFIG_FB_PXA_ALPS_CDOLLAR) | defined(CONFIG_FB_PXA_SHARP_LQ043_PSP) | defined(CONFIG_FB_PXA_SAMSUNG_LTE430WQ_F0C)
|
||||||
set_pxa_fb_info(&gumstix_fb_info);
|
set_pxa_fb_info(&gumstix_fb_info);
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/ether.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/ether.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/ether.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/ether.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/ether.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/ether.c
|
||||||
@@ -260,6 +260,8 @@ MODULE_PARM_DESC(host_addr, "Host Ethern
|
@@ -260,6 +260,8 @@ MODULE_PARM_DESC(host_addr, "Host Ethern
|
||||||
|
|
||||||
#ifdef CONFIG_USB_GADGET_PXA27X
|
#ifdef CONFIG_USB_GADGET_PXA27X
|
||||||
@ -216,10 +216,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/ether.c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/file_storage.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/file_storage.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/file_storage.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/file_storage.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/file_storage.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/file_storage.c
|
||||||
@@ -280,6 +280,12 @@ MODULE_LICENSE("Dual BSD/GPL");
|
@@ -280,6 +280,12 @@ MODULE_LICENSE("Dual BSD/GPL");
|
||||||
#define DRIVER_PRODUCT_ID 0xa4a5 // Linux-USB File-backed Storage Gadget
|
#define DRIVER_PRODUCT_ID 0xa4a5 // Linux-USB File-backed Storage Gadget
|
||||||
|
|
||||||
@ -274,10 +274,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/file_storage.c
|
|||||||
fsg->state = FSG_STATE_TERMINATED; // The thread is dead
|
fsg->state = FSG_STATE_TERMINATED; // The thread is dead
|
||||||
fsg_unbind(gadget);
|
fsg_unbind(gadget);
|
||||||
close_all_backing_files(fsg);
|
close_all_backing_files(fsg);
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/serial.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/serial.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/serial.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/serial.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/serial.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/serial.c
|
||||||
@@ -126,6 +126,10 @@ static int debug = 1;
|
@@ -126,6 +126,10 @@ static int debug = 1;
|
||||||
#define GS_LOG2_NOTIFY_INTERVAL 5 /* 1 << 5 == 32 msec */
|
#define GS_LOG2_NOTIFY_INTERVAL 5 /* 1 << 5 == 32 msec */
|
||||||
#define GS_NOTIFY_MAXPACKET 8
|
#define GS_NOTIFY_MAXPACKET 8
|
||||||
@ -322,10 +322,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/serial.c
|
|||||||
if (!ep) {
|
if (!ep) {
|
||||||
printk(KERN_ERR "gs_bind: cannot run ACM on %s\n", gadget->name);
|
printk(KERN_ERR "gs_bind: cannot run ACM on %s\n", gadget->name);
|
||||||
goto autoconf_fail;
|
goto autoconf_fail;
|
||||||
Index: linux-2.6.21gum/drivers/usb/gadget/zero.c
|
Index: linux-2.6.21.7/drivers/usb/gadget/zero.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/usb/gadget/zero.c
|
--- linux-2.6.21.7.orig/drivers/usb/gadget/zero.c
|
||||||
+++ linux-2.6.21gum/drivers/usb/gadget/zero.c
|
+++ linux-2.6.21.7/drivers/usb/gadget/zero.c
|
||||||
@@ -212,6 +212,11 @@ module_param (loopdefault, bool, S_IRUGO
|
@@ -212,6 +212,11 @@ module_param (loopdefault, bool, S_IRUGO
|
||||||
#define STRING_SOURCE_SINK 250
|
#define STRING_SOURCE_SINK 250
|
||||||
#define STRING_LOOPBACK 251
|
#define STRING_LOOPBACK 251
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/cpufreq/cpufreq_ondemand.c
|
Index: linux-2.6.21.7/drivers/cpufreq/cpufreq_ondemand.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/cpufreq/cpufreq_ondemand.c
|
--- linux-2.6.21.7.orig/drivers/cpufreq/cpufreq_ondemand.c
|
||||||
+++ linux-2.6.21gum/drivers/cpufreq/cpufreq_ondemand.c
|
+++ linux-2.6.21.7/drivers/cpufreq/cpufreq_ondemand.c
|
||||||
@@ -573,7 +573,7 @@ static int cpufreq_governor_dbs(struct c
|
@@ -573,7 +573,7 @@ static int cpufreq_governor_dbs(struct c
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -11,10 +11,10 @@ Index: linux-2.6.21gum/drivers/cpufreq/cpufreq_ondemand.c
|
|||||||
.name = "ondemand",
|
.name = "ondemand",
|
||||||
.governor = cpufreq_governor_dbs,
|
.governor = cpufreq_governor_dbs,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
Index: linux-2.6.21gum/drivers/cpufreq/cpufreq_conservative.c
|
Index: linux-2.6.21.7/drivers/cpufreq/cpufreq_conservative.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/cpufreq/cpufreq_conservative.c
|
--- linux-2.6.21.7.orig/drivers/cpufreq/cpufreq_conservative.c
|
||||||
+++ linux-2.6.21gum/drivers/cpufreq/cpufreq_conservative.c
|
+++ linux-2.6.21.7/drivers/cpufreq/cpufreq_conservative.c
|
||||||
@@ -551,7 +551,7 @@ static int cpufreq_governor_dbs(struct c
|
@@ -551,7 +551,7 @@ static int cpufreq_governor_dbs(struct c
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/udc.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/udc.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/udc.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/udc.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/udc.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/udc.h
|
||||||
@@ -5,6 +5,7 @@
|
@@ -5,6 +5,7 @@
|
||||||
* USB Device Controller (UDC) is wired.
|
* USB Device Controller (UDC) is wired.
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/video/logo/logo_linux_clut224.ppm
|
Index: linux-2.6.21.7/drivers/video/logo/logo_linux_clut224.ppm
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/logo/logo_linux_clut224.ppm
|
--- linux-2.6.21.7.orig/drivers/video/logo/logo_linux_clut224.ppm
|
||||||
+++ linux-2.6.21gum/drivers/video/logo/logo_linux_clut224.ppm
|
+++ linux-2.6.21.7/drivers/video/logo/logo_linux_clut224.ppm
|
||||||
@@ -1,1604 +1,8848 @@
|
@@ -1,1604 +1,8848 @@
|
||||||
P3
|
P3
|
||||||
-# Standard 224-color Linux logo
|
-# Standard 224-color Linux logo
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/gumstix.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/gumstix.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -33,8 +33,9 @@
|
@@ -33,8 +33,9 @@
|
||||||
|
|
||||||
static struct pxamci_platform_data gumstix_mci_platform_data;
|
static struct pxamci_platform_data gumstix_mci_platform_data;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/video/pxafb.c
|
Index: linux-2.6.21.7/drivers/video/pxafb.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/pxafb.c
|
--- linux-2.6.21.7.orig/drivers/video/pxafb.c
|
||||||
+++ linux-2.6.21gum/drivers/video/pxafb.c
|
+++ linux-2.6.21.7/drivers/video/pxafb.c
|
||||||
@@ -191,6 +191,10 @@ static int pxafb_bpp_to_lccr3(struct fb_
|
@@ -191,6 +191,10 @@ static int pxafb_bpp_to_lccr3(struct fb_
|
||||||
case 4: ret = LCCR3_4BPP; break;
|
case 4: ret = LCCR3_4BPP; break;
|
||||||
case 8: ret = LCCR3_8BPP; break;
|
case 8: ret = LCCR3_8BPP; break;
|
||||||
@ -205,10 +205,10 @@ Index: linux-2.6.21gum/drivers/video/pxafb.c
|
|||||||
dev_info(dev, "overriding bit depth: %d\n", bpp);
|
dev_info(dev, "overriding bit depth: %d\n", bpp);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/pxa-regs.h
|
||||||
@@ -1323,6 +1323,8 @@
|
@@ -1323,6 +1323,8 @@
|
||||||
#define GPIO83_NSTXD 83 /* NSSP transmit */
|
#define GPIO83_NSTXD 83 /* NSSP transmit */
|
||||||
#define GPIO84_NSRXD 84 /* NSSP receive */
|
#define GPIO84_NSRXD 84 /* NSSP receive */
|
||||||
@ -240,10 +240,10 @@ Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
|
|||||||
|
|
||||||
#define FDADR0 __REG(0x44000200) /* DMA Channel 0 Frame Descriptor Address Register */
|
#define FDADR0 __REG(0x44000200) /* DMA Channel 0 Frame Descriptor Address Register */
|
||||||
#define FSADR0 __REG(0x44000204) /* DMA Channel 0 Frame Source Address Register */
|
#define FSADR0 __REG(0x44000204) /* DMA Channel 0 Frame Source Address Register */
|
||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxafb.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/pxafb.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/pxafb.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/pxafb.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/pxafb.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/pxafb.h
|
||||||
@@ -25,6 +25,7 @@ struct pxafb_mode_info {
|
@@ -25,6 +25,7 @@ struct pxafb_mode_info {
|
||||||
u_short xres;
|
u_short xres;
|
||||||
u_short yres;
|
u_short yres;
|
||||||
@ -263,10 +263,10 @@ Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxafb.h
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct pxafb_mach_info {
|
struct pxafb_mach_info {
|
||||||
Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
Index: linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/gumstix.c
|
--- linux-2.6.21.7.orig/arch/arm/mach-pxa/gumstix.c
|
||||||
+++ linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
+++ linux-2.6.21.7/arch/arm/mach-pxa/gumstix.c
|
||||||
@@ -146,7 +146,8 @@ static struct pxafb_mode_info gumstix_fb
|
@@ -146,7 +146,8 @@ static struct pxafb_mode_info gumstix_fb
|
||||||
.pixclock = 110000,
|
.pixclock = 110000,
|
||||||
.xres = 480,
|
.xres = 480,
|
||||||
@ -287,10 +287,10 @@ Index: linux-2.6.21gum/arch/arm/mach-pxa/gumstix.c
|
|||||||
.sync = 0, // Hsync and Vsync both active low
|
.sync = 0, // Hsync and Vsync both active low
|
||||||
};
|
};
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/video/cfbfillrect.c
|
Index: linux-2.6.21.7/drivers/video/cfbfillrect.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/cfbfillrect.c
|
--- linux-2.6.21.7.orig/drivers/video/cfbfillrect.c
|
||||||
+++ linux-2.6.21gum/drivers/video/cfbfillrect.c
|
+++ linux-2.6.21.7/drivers/video/cfbfillrect.c
|
||||||
@@ -62,7 +62,10 @@ pixel_to_pat( u32 bpp, u32 pixel)
|
@@ -62,7 +62,10 @@ pixel_to_pat( u32 bpp, u32 pixel)
|
||||||
return 0x0001001001001001ul*pixel;
|
return 0x0001001001001001ul*pixel;
|
||||||
case 16:
|
case 16:
|
||||||
@ -322,10 +322,10 @@ Index: linux-2.6.21gum/drivers/video/cfbfillrect.c
|
|||||||
unsigned long __iomem *dst;
|
unsigned long __iomem *dst;
|
||||||
int dst_idx, left;
|
int dst_idx, left;
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/video/cfbimgblt.c
|
Index: linux-2.6.21.7/drivers/video/cfbimgblt.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/cfbimgblt.c
|
--- linux-2.6.21.7.orig/drivers/video/cfbimgblt.c
|
||||||
+++ linux-2.6.21gum/drivers/video/cfbimgblt.c
|
+++ linux-2.6.21.7/drivers/video/cfbimgblt.c
|
||||||
@@ -83,7 +83,7 @@ static inline void color_imageblit(const
|
@@ -83,7 +83,7 @@ static inline void color_imageblit(const
|
||||||
/* Draw the penguin */
|
/* Draw the penguin */
|
||||||
u32 __iomem *dst, *dst2;
|
u32 __iomem *dst, *dst2;
|
||||||
@ -362,10 +362,10 @@ Index: linux-2.6.21gum/drivers/video/cfbimgblt.c
|
|||||||
u32 width = image->width;
|
u32 width = image->width;
|
||||||
u32 dx = image->dx, dy = image->dy;
|
u32 dx = image->dx, dy = image->dy;
|
||||||
u8 __iomem *dst1;
|
u8 __iomem *dst1;
|
||||||
Index: linux-2.6.21gum/drivers/video/cfbcopyarea.c
|
Index: linux-2.6.21.7/drivers/video/cfbcopyarea.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/cfbcopyarea.c
|
--- linux-2.6.21.7.orig/drivers/video/cfbcopyarea.c
|
||||||
+++ linux-2.6.21gum/drivers/video/cfbcopyarea.c
|
+++ linux-2.6.21.7/drivers/video/cfbcopyarea.c
|
||||||
@@ -365,8 +365,8 @@ void cfb_copyarea(struct fb_info *p, con
|
@@ -365,8 +365,8 @@ void cfb_copyarea(struct fb_info *p, con
|
||||||
dst = src = (unsigned long __iomem *)((unsigned long)p->screen_base & ~(bytes-1));
|
dst = src = (unsigned long __iomem *)((unsigned long)p->screen_base & ~(bytes-1));
|
||||||
dst_idx = src_idx = 8*((unsigned long)p->screen_base & (bytes-1));
|
dst_idx = src_idx = 8*((unsigned long)p->screen_base & (bytes-1));
|
||||||
@ -395,10 +395,10 @@ Index: linux-2.6.21gum/drivers/video/cfbcopyarea.c
|
|||||||
dst_idx += bits_per_line;
|
dst_idx += bits_per_line;
|
||||||
src_idx += bits_per_line;
|
src_idx += bits_per_line;
|
||||||
}
|
}
|
||||||
Index: linux-2.6.21gum/drivers/video/console/fbcon.c
|
Index: linux-2.6.21.7/drivers/video/console/fbcon.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/video/console/fbcon.c
|
--- linux-2.6.21.7.orig/drivers/video/console/fbcon.c
|
||||||
+++ linux-2.6.21gum/drivers/video/console/fbcon.c
|
+++ linux-2.6.21.7/drivers/video/console/fbcon.c
|
||||||
@@ -983,9 +983,10 @@ static const char *fbcon_startup(void)
|
@@ -983,9 +983,10 @@ static const char *fbcon_startup(void)
|
||||||
|
|
||||||
DPRINTK("mode: %s\n", info->fix.id);
|
DPRINTK("mode: %s\n", info->fix.id);
|
||||||
@ -412,10 +412,10 @@ Index: linux-2.6.21gum/drivers/video/console/fbcon.c
|
|||||||
|
|
||||||
#ifdef CONFIG_ATARI
|
#ifdef CONFIG_ATARI
|
||||||
if (MACH_IS_ATARI) {
|
if (MACH_IS_ATARI) {
|
||||||
Index: linux-2.6.21gum/Documentation/fb/pxafb.txt
|
Index: linux-2.6.21.7/Documentation/fb/pxafb.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/Documentation/fb/pxafb.txt
|
--- linux-2.6.21.7.orig/Documentation/fb/pxafb.txt
|
||||||
+++ linux-2.6.21gum/Documentation/fb/pxafb.txt
|
+++ linux-2.6.21.7/Documentation/fb/pxafb.txt
|
||||||
@@ -9,11 +9,13 @@ For example:
|
@@ -9,11 +9,13 @@ For example:
|
||||||
or on the kernel command line
|
or on the kernel command line
|
||||||
video=pxafb:mode:640x480-8,passive
|
video=pxafb:mode:640x480-8,passive
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: linux-2.6.21gum/drivers/net/smc911x.c
|
Index: linux-2.6.21.7/drivers/net/smc911x.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/smc911x.c
|
--- linux-2.6.21.7.orig/drivers/net/smc911x.c
|
||||||
+++ linux-2.6.21gum/drivers/net/smc911x.c
|
+++ linux-2.6.21.7/drivers/net/smc911x.c
|
||||||
@@ -76,6 +76,7 @@ static const char version[] =
|
@@ -76,6 +76,7 @@ static const char version[] =
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
@ -154,10 +154,10 @@ Index: linux-2.6.21gum/drivers/net/smc911x.c
|
|||||||
return platform_driver_register(&smc911x_driver);
|
return platform_driver_register(&smc911x_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
Index: linux-2.6.21gum/drivers/net/gumstix-smc911x.c
|
Index: linux-2.6.21.7/drivers/net/gumstix-smc911x.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.21gum/drivers/net/gumstix-smc911x.c
|
+++ linux-2.6.21.7/drivers/net/gumstix-smc911x.c
|
||||||
@@ -0,0 +1,148 @@
|
@@ -0,0 +1,148 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Gumstix SMC911x chip intialization driver
|
+ * Gumstix SMC911x chip intialization driver
|
||||||
@ -307,11 +307,11 @@ Index: linux-2.6.21gum/drivers/net/gumstix-smc911x.c
|
|||||||
+MODULE_AUTHOR("Craig Hughes <craig@gumstix.com>");
|
+MODULE_AUTHOR("Craig Hughes <craig@gumstix.com>");
|
||||||
+MODULE_DESCRIPTION("Gumstix board SMC911x chip initialization driver");
|
+MODULE_DESCRIPTION("Gumstix board SMC911x chip initialization driver");
|
||||||
+MODULE_VERSION("1:0.1");
|
+MODULE_VERSION("1:0.1");
|
||||||
Index: linux-2.6.21gum/drivers/net/Kconfig
|
Index: linux-2.6.21.7/drivers/net/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/Kconfig
|
--- linux-2.6.21.7.orig/drivers/net/Kconfig
|
||||||
+++ linux-2.6.21gum/drivers/net/Kconfig
|
+++ linux-2.6.21.7/drivers/net/Kconfig
|
||||||
@@ -897,6 +897,13 @@ config SMC911X
|
@@ -1020,6 +1020,13 @@ config SMC911X
|
||||||
called smc911x. If you want to compile it as a module, say M
|
called smc911x. If you want to compile it as a module, say M
|
||||||
here and read <file:Documentation/modules.txt>
|
here and read <file:Documentation/modules.txt>
|
||||||
|
|
||||||
@ -325,11 +325,11 @@ Index: linux-2.6.21gum/drivers/net/Kconfig
|
|||||||
config NET_VENDOR_RACAL
|
config NET_VENDOR_RACAL
|
||||||
bool "Racal-Interlan (Micom) NI cards"
|
bool "Racal-Interlan (Micom) NI cards"
|
||||||
depends on NET_ETHERNET && ISA
|
depends on NET_ETHERNET && ISA
|
||||||
Index: linux-2.6.21gum/drivers/net/Makefile
|
Index: linux-2.6.21.7/drivers/net/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/Makefile
|
--- linux-2.6.21.7.orig/drivers/net/Makefile
|
||||||
+++ linux-2.6.21gum/drivers/net/Makefile
|
+++ linux-2.6.21.7/drivers/net/Makefile
|
||||||
@@ -201,6 +201,7 @@ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
|
@@ -202,6 +202,7 @@ obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o
|
||||||
obj-$(CONFIG_MACB) += macb.o
|
obj-$(CONFIG_MACB) += macb.o
|
||||||
|
|
||||||
obj-$(CONFIG_SMC91X_GUMSTIX) += gumstix-smc91x.o
|
obj-$(CONFIG_SMC91X_GUMSTIX) += gumstix-smc91x.o
|
||||||
@ -337,10 +337,10 @@ Index: linux-2.6.21gum/drivers/net/Makefile
|
|||||||
obj-$(CONFIG_ARM) += arm/
|
obj-$(CONFIG_ARM) += arm/
|
||||||
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
||||||
obj-$(CONFIG_TR) += tokenring/
|
obj-$(CONFIG_TR) += tokenring/
|
||||||
Index: linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
Index: linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/gumstix.h
|
--- linux-2.6.21.7.orig/include/asm-arm/arch-pxa/gumstix.h
|
||||||
+++ linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
+++ linux-2.6.21.7/include/asm-arm/arch-pxa/gumstix.h
|
||||||
@@ -52,7 +52,7 @@
|
@@ -52,7 +52,7 @@
|
||||||
#define GPIO_GUMSTIX_ETH0_RST 80
|
#define GPIO_GUMSTIX_ETH0_RST 80
|
||||||
#define GPIO_GUMSTIX_ETH0 36
|
#define GPIO_GUMSTIX_ETH0 36
|
||||||
@ -350,10 +350,10 @@ Index: linux-2.6.21gum/include/asm-arm/arch-pxa/gumstix.h
|
|||||||
#define GPIO_GUMSTIX_ETH0 99
|
#define GPIO_GUMSTIX_ETH0 99
|
||||||
#endif
|
#endif
|
||||||
#define GPIO_GUMSTIX_ETH1_RST 52
|
#define GPIO_GUMSTIX_ETH1_RST 52
|
||||||
Index: linux-2.6.21gum/drivers/net/smc911x.h
|
Index: linux-2.6.21.7/drivers/net/smc911x.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.21gum.orig/drivers/net/smc911x.h
|
--- linux-2.6.21.7.orig/drivers/net/smc911x.h
|
||||||
+++ linux-2.6.21gum/drivers/net/smc911x.h
|
+++ linux-2.6.21.7/drivers/net/smc911x.h
|
||||||
@@ -33,7 +33,9 @@
|
@@ -33,7 +33,9 @@
|
||||||
* Use the DMA feature on PXA chips
|
* Use the DMA feature on PXA chips
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user