Changeset 36098


Ignore:
Timestamp:
2013-03-20T22:59:24+01:00 (5 years ago)
Author:
hauke
Message:

kernel: add some fixes for kernel 3.9

This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

Location:
trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/netdevices.mk

    r35705 r36098  
    474474  TITLE:=Broadcom Tigon3 Gigabit Ethernet 
    475475  KCONFIG:=CONFIG_TIGON3 
    476   DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +LINUX_3_8:kmod-ptp 
     476  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(LINUX_3_8||LINUX_3_9):kmod-ptp 
    477477  SUBMENU:=$(NETWORK_DEVICES_MENU) 
    478478  FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko 
  • trunk/package/kernel/modules/usb.mk

    r35627 r36098  
    158158define KernelPackage/usb2-pci 
    159159  TITLE:=Support for PCI USB2 controllers 
    160   DEPENDS:=@PCI_SUPPORT @LINUX_3_8 +kmod-usb2 
     160  DEPENDS:=@PCI_SUPPORT @(LINUX_3_8||LINUX_3_9) +kmod-usb2 
    161161  KCONFIG:=CONFIG_USB_EHCI_PCI 
    162162  FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko 
  • trunk/package/network/utils/xtables-addons/patches/102-rtsp-linux-3.7-compat.patch

    r35192 r36098  
    7373     char*       ptcp; 
    7474     uint        tcplen; 
    75 @@ -256,7 +256,7 @@ rtsp_mangle_tran(enum ip_conntrack_info  
     75@@ -256,7 +256,7 @@ rtsp_mangle_tran(enum ip_conntrack_info 
    7676                 if (dstact == DSTACT_STRIP || (dstact == DSTACT_AUTO && !is_stun)) 
    7777                 { 
     
    8282                     { 
    8383                         /* mangle failed, all we can do is bail */ 
    84 @@ -326,7 +326,7 @@ rtsp_mangle_tran(enum ip_conntrack_info  
     84@@ -326,7 +326,7 @@ rtsp_mangle_tran(enum ip_conntrack_info 
    8585                      * parameter 4 below is offset from start of tcp data. 
    8686                      */ 
     
    9191                     { 
    9292                         /* mangle failed, all we can do is bail */ 
    93 @@ -351,7 +351,7 @@ rtsp_mangle_tran(enum ip_conntrack_info  
     93@@ -351,7 +351,7 @@ rtsp_mangle_tran(enum ip_conntrack_info 
    9494 } 
    9595  
  • trunk/package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch

    r34391 r36098  
    7979 #define SHRT_MAX        32767 
    8080 #define BUFSIZ                 8192 
    81 @@ -637,6 +641,8 @@ union luai_Cast { double l_d; long l_l;  
     81@@ -637,6 +641,8 @@ union luai_Cast { double l_d; long l_l; 
    8282 */ 
    8383 #if defined(__KERNEL__) 
  • trunk/target/linux/generic/patches-3.9/259-regmap_dynamic.patch

    r36070 r36098  
    4040 enum regmap_endian { 
    4141        /* Unspecified -> 0 -> Backwards compatible default */ 
     42--- a/drivers/base/regmap/Makefile 
     43+++ b/drivers/base/regmap/Makefile 
     44@@ -1,6 +1,8 @@ 
     45-obj-$(CONFIG_REGMAP) += regmap.o regcache.o 
     46-obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-lzo.o regcache-flat.o 
     47-obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o 
     48+regmap-core-objs = regmap.o regcache.o regcache-rbtree.o regcache-lzo.o regcache-flat.o 
     49+ifdef CONFIG_DEBUG_FS 
     50+regmap-core-objs += regmap-debugfs.o 
     51+endif 
     52+obj-$(CONFIG_REGMAP) += regmap-core.o 
     53 obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o 
     54 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 
     55 obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o 
    4256--- a/drivers/base/regmap/regmap.c 
    4357+++ b/drivers/base/regmap/regmap.c 
Note: See TracChangeset for help on using the changeset viewer.