diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-26 21:23:53 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-26 21:23:53 +0000 |
commit | 749981b832eab6b4909ea45e8d584c570cd0ea12 (patch) | |
tree | ae65eb0cfd084ca35fccc38b9da0397d6ffbcf53 | |
parent | f3d7e220c34920622f1a1071ac3f51e9396191e0 (diff) |
small fixes mostly for kernel 2.6.31
- libsas needs symbols from scsi_transport_sas
- autoload line in pppoe was missing
- rfkill-input does not exist in kernel 2.6.31
- password for download server of r8101 changed
- r8101 and siit do not build with kernel 2.6.31
- fix build of net sched esfq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17752 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/block.mk | 7 | ||||
-rw-r--r-- | package/kernel/modules/netsupport.mk | 1 | ||||
-rw-r--r-- | package/kernel/modules/other.mk | 6 | ||||
-rw-r--r-- | package/r8101/Makefile | 4 | ||||
-rw-r--r-- | package/siit/Makefile | 1 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.31 | 16 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch | 2 |
7 files changed, 32 insertions, 5 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 09450bf29..908b9d615 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -417,11 +417,14 @@ define KernelPackage/libsas TITLE:=SAS Domain Transport Attributes DEPENDS:=+kmod-scsi-core @TARGET_x86 KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \ + CONFIG_SCSI_SAS_ATTRS \ CONFIG_SCSI_SAS_ATA=y \ CONFIG_SCSI_SAS_HOST_SMP=y \ CONFIG_SCSI_SAS_LIBSAS_DEBUG=y - FILES:=$(LINUX_DIR)/drivers/scsi/libsas/libsas.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,29,libsas) + FILES:= \ + $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/scsi/libsas/libsas.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas) endef define KernelPackage/libsas/description diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 35caad235..78d77f0b1 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -445,6 +445,7 @@ define KernelPackage/pppoe FILES:= \ $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,pppox pppoe) endef define KernelPackage/pppoe/description diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 3844068b7..1b8e533cd 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -784,10 +784,16 @@ define KernelPackage/rfkill CONFIG_RFKILL \ CONFIG_RFKILL_INPUT \ CONFIG_RFKILL_LEDS=y +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1) + FILES:= \ + $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,20,rfkill) +else FILES:= \ $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input) +endif endef define KernelPackage/rfkill/description diff --git a/package/r8101/Makefile b/package/r8101/Makefile index e800e8ecc..370a9aebf 100644 --- a/package/r8101/Makefile +++ b/package/r8101/Makefile @@ -13,7 +13,7 @@ PKG_VERSION:=1.012.00 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=ftp://WebUser:DAx7h9V@202.65.194.212/cn/nic/ +PKG_SOURCE_URL:=ftp://WebUser:nQJ4P7b@202.65.194.212/cn/nic/ PKG_MD5SUM:=eb0645af023926f3ab8d0d40f68748ef include $(INCLUDE_DIR)/package.mk @@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/r8101 SUBMENU:=Network Devices TITLE:=RealTek RTL-8101E PCIe Fast Ethernet Adapter kernel support - DEPENDS:=@TARGET_x86 + DEPENDS:=@TARGET_x86 @!LINUX_2_6_31 URL:=http://www.realtek.com.tw/ FILES:= $(PKG_BUILD_DIR)/src/r8101.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,r8101) diff --git a/package/siit/Makefile b/package/siit/Makefile index affe89f10..f73e9584e 100644 --- a/package/siit/Makefile +++ b/package/siit/Makefile @@ -16,6 +16,7 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/siit SUBMENU:=Network Devices TITLE:=Stateless IP ICMP Translation Algorithm + DEPENDS:=@!LINUX_2_6_31 FILES:=$(PKG_BUILD_DIR)/siit.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,siit) endef diff --git a/target/linux/generic-2.6/config-2.6.31 b/target/linux/generic-2.6/config-2.6.31 index c4566c08f..2e2e14e85 100644 --- a/target/linux/generic-2.6/config-2.6.31 +++ b/target/linux/generic-2.6/config-2.6.31 @@ -152,7 +152,9 @@ CONFIG_BINFMT_ELF=y # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set +# CONFIG_BLK_DEV_4DRIVES is not set # CONFIG_BLK_DEV_AEC62XX is not set +# CONFIG_BLK_DEV_ALI14XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set @@ -164,9 +166,11 @@ CONFIG_BINFMT_ELF=y # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_CS5535 is not set +# CONFIG_BLK_DEV_CS5536 is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_DELKIN is not set +# CONFIG_BLK_DEV_DTC2278 is not set # CONFIG_BLK_DEV_FD is not set # CONFIG_BLK_DEV_GENERIC is not set # CONFIG_BLK_DEV_HD_IDE is not set @@ -174,6 +178,7 @@ CONFIG_BINFMT_ELF=y # CONFIG_BLK_DEV_HD_ONLY is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set +# CONFIG_BLK_DEV_HT6560B is not set # CONFIG_BLK_DEV_IDEACPI is not set # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDECS is not set @@ -200,6 +205,7 @@ CONFIG_BLK_DEV_INITRD=y # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PIIX is not set # CONFIG_BLK_DEV_PLATFORM is not set +# CONFIG_BLK_DEV_QD65XX is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_DEV_RZ1000 is not set # CONFIG_BLK_DEV_SC1200 is not set @@ -215,6 +221,7 @@ CONFIG_BLK_DEV_INITRD=y # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_UB is not set +# CONFIG_BLK_DEV_UMC8672 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_BLK_DEV_XIP is not set @@ -401,6 +408,7 @@ CONFIG_CRYPTO_UNLZMA=y # CONFIG_CRYPTO_XTS is not set CONFIG_CRYPTO=y CONFIG_CRYPTO_ZLIB=y +# CONFIG_CUSE is not set # CONFIG_DAB is not set # CONFIG_DAVICOM_PHY is not set # CONFIG_DCB is not set @@ -936,6 +944,7 @@ CONFIG_JOLIET=y # CONFIG_KALLSYMS is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_KEXEC is not set +# CONFIG_KEYBOARD_LM8323 is not set # CONFIG_KEYS is not set # CONFIG_KMEMTRACE is not set CONFIG_KMOD=y @@ -1031,9 +1040,11 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_MISDN is not set # CONFIG_MKISS is not set # CONFIG_MMC_ARMMMCI is not set +# CONFIG_MMC_CB710 is not set # CONFIG_MMC is not set # CONFIG_MMC_SDRICOH_CS is not set # CONFIG_MMC_TEST is not set +# CONFIG_MMC_VIA_SDMMC is not set CONFIG_MMU=y # CONFIG_MODULE_FORCE_LOAD is not set # CONFIG_MODULE_FORCE_UNLOAD is not set @@ -1045,6 +1056,7 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_MOUSE_INPORT is not set # CONFIG_MOUSE_LOGIBM is not set # CONFIG_MOUSE_PC110PAD is not set +# CONFIG_MOUSE_SYNAPTICS_I2C is not set # CONFIG_MSDOS_FS is not set CONFIG_MSDOS_PARTITION=y # CONFIG_MTD_ABSENT is not set @@ -1195,6 +1207,7 @@ CONFIG_NETFILTER_ADVANCED=y # CONFIG_NETFILTER_XT_MATCH_MAC is not set # CONFIG_NETFILTER_XT_MATCH_MARK is not set # CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set +# CONFIG_NETFILTER_XT_MATCH_OSF is not set # CONFIG_NETFILTER_XT_MATCH_OWNER is not set # CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set @@ -1323,6 +1336,7 @@ CONFIG_NFSD_V4=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V3=y CONFIG_NFS_V4=y +# CONFIG_NFS_V4_1 is not set # CONFIG_NFTL is not set # CONFIG_NILFS2_FS is not set CONFIG_NL80211=y @@ -1780,6 +1794,7 @@ CONFIG_SELECT_MEMORY_MODEL=y # CONFIG_SENSORS_SMSC47M192 is not set # CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP401 is not set # CONFIG_SENSORS_TSL2550 is not set # CONFIG_SENSORS_VIA686A is not set # CONFIG_SENSORS_VT1211 is not set @@ -1823,6 +1838,7 @@ CONFIG_SLAB=y # CONFIG_SLOB is not set # CONFIG_SLUB_DEBUG is not set # CONFIG_SLUB is not set +# CONFIG_SMARTJOYPLUS_FF is not set # CONFIG_SMB_FS is not set # CONFIG_SMB_NLS_DEFAULT is not set # CONFIG_SMC911X is not set diff --git a/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch index f72c0e370..fb28e9085 100644 --- a/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.31/200-sched_esfq.patch @@ -268,7 +268,7 @@ + break; + } + default: -+ info.dst = (u32)(unsigned long)skb->dst; ++ info.dst = (u32)(unsigned long)skb_dst(skb); + info.src = (u32)(unsigned long)skb->sk; + info.proto = skb->protocol; + } |