require linux-rp.inc

PR = "r48"

# Handy URLs
# git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \
# http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
# http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.15-rc1.bz2;patch=1 \
# http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.15-rc2-git1.bz2;patch=1 \
# http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.10/patch-2.6.10-ac8.gz;patch=1 \
# http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.14-rc2/2.6.14-rc2-mm1/2.6.14-rc2-mm1.bz2;patch=1 \

# Patches submitted upstream are towards top of this list
# Hacks should clearly named and at the bottom
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
           file://rmk-mmc1.patch;patch=1;status=merged \
           file://rmk-mmc2.patch;patch=1;status=merged \
           ${RPSRC}/led_core-r15.patch;patch=1;status=merged \
           ${RPSRC}/led_triggers-r14.patch;patch=1;status=merged \
           ${RPSRC}/led_trig_timer-r8.patch;patch=1;status=merged \
           ${RPSRC}/led_trig_sharpsl_pm-r5.patch;patch=1;status=merged \
           ${RPSRC}/led_zaurus-r10.patch;patch=1;status=merged \
           ${RPSRC}/led_locomo-r7.patch;patch=1;status=merged \
           ${RPSRC}/led_ixp4xx-r2.patch;patch=1;status=merged \
           ${RPSRC}/led_tosa-r5.patch;patch=1;status=merged \
           ${RPSRC}/led_ide-r6.patch;patch=1;status=merged \
           ${RPSRC}/led_nand-r3.patch;patch=1;status=merged \
           ${RPSRC}/ide_end_request-r1.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-library-functions.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-arm-cleanup-r1.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-class.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-class-fix.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-class-fix-2.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-i2c-cleanup-r1.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-sysfs-interface.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-proc-interface.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-dev-interface.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-x1205-driver.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-test-device-driver.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-ds1672-driver.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-pcf8563-driver.patch;patch=1;status=merged \
           ${RPSRC}/rtc-subsystem-rs5c372-driver.patch;patch=1;status=merged \
           ${RPSRC}/rtc_class_pxa-r2.patch;patch=1;status=merged \
           ${RPSRC}/rmk_pxa_mmc_timeout-r0.patch;patch=1;status=merged \
           ${RPSRC}/integrator_rtc-r0.patch;patch=1;status=merged \
           ${RPSRC}/zaurus_keyboard_tweak-r3.patch;patch=1;status=merged \
           ${RPSRC}/arm_eabi_enum_fix-r0.patch;patch=1;status=merged \
           ${RPSRC}/pxafb_tweaks-r0.patch;patch=1;status=merged \
           ${RPSRC}/spitz_kbd_fix-r0.patch;patch=1;status=merged \
           ${RPSRC}/fbmem_fix-r1.patch;patch=1;status=merged \
           ${RPSRC}/scoop_linkage-r0.patch;patch=1;status=merged \
           ${RPSRC}/ssp_cleanup-r0.patch;patch=1;status=merged \
           ${RPSRC}/misc_fix1-r0.patch;patch=1;status=merged \
           ${RPSRC}/corgi_bl_cleanup-r3.patch;patch=1;status=merged \
           ${RPSRC}/corgi_bl_generic-r3.patch;patch=1;status=merged \
           ${RPSRC}/w100_accel1-r0.patch;patch=1;status=merged \
           ${RPSRC}/poodle_memsize-r0.patch;patch=1;status=merged \
           ${RPSRC}/led_class_kconfig-r0.patch;patch=1;status=merged \
           ${RPSRC}/led_maintainer-r0.patch;patch=1;status=merged \
           ${RPSRC}/led_sysfs_fix-r0.patch;patch=1;status=merged \
           ${RPSRC}/backlight_sysfs_fix-r0.patch;patch=1;status=merged \
           ${RPSRC}/pxaohci_pwrlimit-r0.patch;patch=1;status=merged \
           ${RPSRC}/mmc_oops_fix-r1.patch;patch=1;status=merged \
           ${RPSRC}/zlib_inflate-r3.patch;patch=1;status=merged \
           ${RPSRC}/logo_rotate_fix-r1.patch;patch=1;status=merged \
           ${RPSRC}/poodle_partsize-r0.patch;patch=1;status=merged \
           ${RPSRC}/jffs2_longfilename-r1.patch;patch=1;status=merged \
           file://00-hostap.patch;patch=1;status=merged \
           file://10-pcnet.patch;patch=1;status=merged \
           ${RPSRC}/alsa/asoc-v0.10rc4.patch;patch=1 \
           file://maxpower-message.patch;patch=1;status=backported \
           ${RPSRC}/asoc_fixups-r0.patch;patch=1 \
           ${RPSRC}/hx2750_base-r24.patch;patch=1 \
           ${RPSRC}/hx2750_bl-r5.patch;patch=1 \
           ${RPSRC}/hx2750_pcmcia-r2.patch;patch=1 \
           ${RPSRC}/pxa_keys-r5.patch;patch=1 \
           ${RPSRC}/tsc2101-r12.patch;patch=1 \
           ${RPSRC}/hx2750_test1-r3.patch;patch=1 \
           ${RPSRC}/pxa_timerfix-r0.patch;patch=1 \
           ${RPSRC}/input_power-r4.patch;patch=1 \
           ${RPSRC}/pxa25x_cpufreq-r0.patch;patch=1 \
           ${RPSRC}/collie_frontlight-r1.patch;patch=1;status=merged \
           ${RPSRC}/zaurus_reboot-r0.patch;patch=1;status=merged \
           ${RPSRC}/sharpsl_pm_fixes1-r0.patch;patch=1 \
           ${RPSRC}/pm_changes-r1.patch;patch=1 \
           ${RPSRC}/sharpsl_pm-do-r2.patch;patch=1;status=merged \
           ${RPSRC}/usb_pxa27x_udc-r0.patch;patch=1 \
           ${RPSRC}/usb_add_epalloc-r1.patch;patch=1 \
           ${RPSRC}/kexec-arm-r2a.patch;patch=1 \
           file://serial-add-support-for-non-standard-xtals-to-16c950-driver.patch;patch=1 \
           file://hrw-pcmcia-ids-r5.patch;patch=1 \
           file://locomo-kbd-hotkeys.patch;patch=1 \
           file://locomo-sysrq+keyrepeat.patch;patch=1 \
           file://locomo-lcd-def-bightness.patch;patch=1 \
           ${RPSRC}/logo_oh-r0.patch.bz2;patch=1;status=unmergable \
           ${RPSRC}/logo_oz-r2.patch.bz2;patch=1;status=unmergable \
           ${RPSRC}/pxa-linking-bug.patch;patch=1;status=unmergable \
           file://add-oz-release-string.patch;patch=1;status=unmergable \
           ${RPSRC}/mmcsd_large_cards-r0.patch;patch=1;status=hack \
           ${RPSRC}/mmcsd_no_scr_check-r0.patch;patch=1;status=hack \
           ${RPSRC}/integrator_rgb-r0.patch;patch=1;status=hack \
           ${RPSRC}/pxa_cf_initorder_hack-r1.patch;patch=1;status=hack \
           ${RPSRC}/poodle_ts_hack-r0.patch;patch=1;status=hack \
           file://pxa-serial-hack.patch;patch=1;status=hack \
           file://connectplus-remove-ide-HACK.patch;patch=1;status=hack \
           file://squashfs3.0-2.6.15.patch;patch=1;status=external \
           file://defconfig-c7x0 \
           file://defconfig-hx2000 \
           file://defconfig-collie \
           file://defconfig-poodle \
           file://defconfig-akita \
           file://defconfig-spitz \
           file://defconfig-qemuarm \
           file://defconfig-tosa "

# Add this to enable pm debug code (useful with a serial lead)
#  ${RPSRC}/sharpsl_pm_debug-r0.patch;patch=1

# Disabled until I find the reason this gives issues with cdc_subset
#            ${RPSRC}/usb_rndis_tweaks-r0.patch;patch=1 \

# These patches would really help collie/poodle but we
# need someone to maintain them
# ${JLSRC}/zaurus-lcd-2.6.11.diff.gz;patch=1
#   (Pavel Machek's git tree has updated versions of this?)
#   Also parts were recently committed to mainline by rmk (drivers/mfd/)
# ${JLSRC}/zaurus-base-2.6.11.diff.gz;patch=1
#   (This is mostly in mainline now?)
# ${JLSRC}/zaurus-local-2.6.11.diff.gz;patch=1 \
# ${JLSRC}/zaurus-leds-2.6.11.diff.gz;patch=1 \

SRC_URI_append_tosa = "\
	   ${CHSRC}/usb-ohci-hooks-r1.patch;patch=1 \
	   ${CHSRC}/tmio-core-r4.patch;patch=1 \
	   ${CHSRC}/tmio-tc6393-r5.patch;patch=1 \
	   ${CHSRC}/tmio-nand-r5.patch;patch=1 \
	   ${CHSRC}/tmio-ohci-r3.patch;patch=1 \
	   ${CHSRC}/tmio-fb-r6.patch;patch=1 \
	   ${DOSRC}/tosa-keyboard-r14.patch;patch=1 \
	   ${DOSRC}/tosa-pxaac97-r6.patch;patch=1 \
	   ${DOSRC}/tosa-tmio-r6.patch;patch=1 \
	   ${DOSRC}/tosa-power-r15.patch;patch=1 \
	   ${DOSRC}/tosa-tmio-lcd-r7.patch;patch=1 \
	   ${DOSRC}/tosa-bluetooth-r6.patch;patch=1 \
	   ${DOSRC}/wm97xx-lg7-r0.patch;patch=1 \
	   ${DOSRC}/wm9712-suspend-cold-res-r0.patch;patch=1 \
	   ${DOSRC}/sharpsl-pm-postresume-r0.patch;patch=1 \
	   ${DOSRC}/wm97xx-dig-restore-r0.patch;patch=1 \
	   ${DOSRC}/wm97xx-miscdevs-resume-r0.patch;patch=1 \
	   ${DOSRC}/wm9712-reset-loop-r0.patch;patch=1 \
	   ${DOSRC}/tosa-asoc-r1.patch;patch=1 "

SRC_URI_append_poodle = "\
	   ${RPSRC}/rp_poodle_hacks-r0.patch;patch=1"

S = "${WORKDIR}/linux-2.6.16"