aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-03-20 21:59:24 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-03-20 21:59:24 +0000
commitc9544f4af05baf5b60127ad29872488315245fb8 (patch)
tree7c5f960d67ce75a014debab8c6ab6286adffe748 /package/kernel
parent99638c528890863b8212a4c140d9ae3cde6ecb4f (diff)
downloadupstream-c9544f4af05baf5b60127ad29872488315245fb8.tar.gz
upstream-c9544f4af05baf5b60127ad29872488315245fb8.tar.bz2
upstream-c9544f4af05baf5b60127ad29872488315245fb8.zip
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. SVN-Revision: 36098
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/netdevices.mk2
-rw-r--r--package/kernel/modules/usb.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 07508ff0a8..2c5bd2d6c2 100644
--- a/package/kernel/modules/netdevices.mk
+++ b/package/kernel/modules/netdevices.mk
@@ -473,7 +473,7 @@ $(eval $(call KernelPackage,pcnet32))
define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet
KCONFIG:=CONFIG_TIGON3
- DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +LINUX_3_8:kmod-ptp
+ DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(LINUX_3_8||LINUX_3_9):kmod-ptp
SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,50,tg3)
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index fa6763c84c..66e6e4aa7f 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -157,7 +157,7 @@ $(eval $(call KernelPackage,usb2))
define KernelPackage/usb2-pci
TITLE:=Support for PCI USB2 controllers
- DEPENDS:=@PCI_SUPPORT @LINUX_3_8 +kmod-usb2
+ DEPENDS:=@PCI_SUPPORT @(LINUX_3_8||LINUX_3_9) +kmod-usb2
KCONFIG:=CONFIG_USB_EHCI_PCI
FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)