diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-27 21:18:52 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-27 21:18:52 +0000 |
commit | 288f6b0a2445a33e696a15fe05a97f062a4209be (patch) | |
tree | 4e41ac726ba3369bac87acde555d020ad68d546b | |
parent | 80e1492cadeef1503b2a42bad37319b8ce9e6a0f (diff) |
kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/netdevices.mk | 2 | ||||
-rw-r--r-- | package/kernel/modules/other.mk | 34 | ||||
-rw-r--r-- | target/linux/generic/config-3.3 | 6 | ||||
-rw-r--r-- | target/linux/generic/config-3.6 | 6 | ||||
-rw-r--r-- | target/linux/generic/config-3.7 | 6 | ||||
-rw-r--r-- | target/linux/generic/config-3.8 | 1 |
6 files changed, 54 insertions, 1 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 83d7c5f56e..f427df6f05 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 + DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +LINUX_3_8: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/other.mk b/package/kernel/modules/other.mk index a96b6997dd..f63d6705d9 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -602,3 +602,37 @@ define KernelPacakge/mvsdio/description endef $(eval $(call KernelPackage,mvsdio)) + + +define KernelPackage/pps + SUBMENU:=$(OTHER_MENU) + TITLE:=PPS support + KCONFIG:=CONFIG_PPS + FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko + AUTOLOAD:=$(call AutoLoad,20,pps_core) +endef + +define KernelPacakge/pps/description + PPS (Pulse Per Second) is a special pulse provided by some GPS + antennae. Userland can use it to get a high-precision time + reference. +endef + +$(eval $(call KernelPackage,pps)) + + +define KernelPackage/ptp + SUBMENU:=$(OTHER_MENU) + TITLE:=PTP clock support + DEPENDS:=+kmod-pps + KCONFIG:=CONFIG_PTP_1588_CLOCK + FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko + AUTOLOAD:=$(call AutoLoad,25,ptp) +endef + +define KernelPacakge/ptp/description + The IEEE 1588 standard defines a method to precisely + synchronize distributed clocks over Ethernet networks. +endef + +$(eval $(call KernelPackage,ptp)) diff --git a/target/linux/generic/config-3.3 b/target/linux/generic/config-3.3 index 8b9e5ad37d..048f108e44 100644 --- a/target/linux/generic/config-3.3 +++ b/target/linux/generic/config-3.3 @@ -1981,6 +1981,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" # CONFIG_NTFS_DEBUG is not set # CONFIG_NTFS_FS is not set # CONFIG_NTFS_RW is not set +# CONFIG_NTP_PPS is not set # CONFIG_NVRAM is not set # CONFIG_NV_TCO is not set # CONFIG_NXP_STB220 is not set @@ -2168,6 +2169,11 @@ CONFIG_PPP_FILTER=y CONFIG_PPP_MULTILINK=y # CONFIG_PPP_SYNC_TTY is not set # CONFIG_PPS is not set +# CONFIG_PPS_CLIENT_GPIO is not set +# CONFIG_PPS_CLIENT_KTIMER is not set +# CONFIG_PPS_CLIENT_LDISC is not set +# CONFIG_PPS_CLIENT_PARPORT is not set +# CONFIG_PPS_DEBUG is not set # CONFIG_PPTP is not set # CONFIG_PREEMPT is not set CONFIG_PREEMPT_NONE=y diff --git a/target/linux/generic/config-3.6 b/target/linux/generic/config-3.6 index 707a2637d3..54dda4a57f 100644 --- a/target/linux/generic/config-3.6 +++ b/target/linux/generic/config-3.6 @@ -2081,6 +2081,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" # CONFIG_NTFS_DEBUG is not set # CONFIG_NTFS_FS is not set # CONFIG_NTFS_RW is not set +# CONFIG_NTP_PPS is not set # CONFIG_NVRAM is not set # CONFIG_NV_TCO is not set # CONFIG_NXP_STB220 is not set @@ -2277,6 +2278,11 @@ CONFIG_PPP_FILTER=y CONFIG_PPP_MULTILINK=y # CONFIG_PPP_SYNC_TTY is not set # CONFIG_PPS is not set +# CONFIG_PPS_CLIENT_GPIO is not set +# CONFIG_PPS_CLIENT_KTIMER is not set +# CONFIG_PPS_CLIENT_LDISC is not set +# CONFIG_PPS_CLIENT_PARPORT is not set +# CONFIG_PPS_DEBUG is not set # CONFIG_PPTP is not set # CONFIG_PREEMPT is not set CONFIG_PREEMPT_NONE=y diff --git a/target/linux/generic/config-3.7 b/target/linux/generic/config-3.7 index 01aea328c6..f696d4c9c2 100644 --- a/target/linux/generic/config-3.7 +++ b/target/linux/generic/config-3.7 @@ -2121,6 +2121,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" # CONFIG_NTFS_DEBUG is not set # CONFIG_NTFS_FS is not set # CONFIG_NTFS_RW is not set +# CONFIG_NTP_PPS is not set # CONFIG_NVRAM is not set # CONFIG_NV_TCO is not set # CONFIG_NXP_STB220 is not set @@ -2320,6 +2321,11 @@ CONFIG_PPP_FILTER=y CONFIG_PPP_MULTILINK=y # CONFIG_PPP_SYNC_TTY is not set # CONFIG_PPS is not set +# CONFIG_PPS_CLIENT_GPIO is not set +# CONFIG_PPS_CLIENT_KTIMER is not set +# CONFIG_PPS_CLIENT_LDISC is not set +# CONFIG_PPS_CLIENT_PARPORT is not set +# CONFIG_PPS_DEBUG is not set # CONFIG_PPTP is not set # CONFIG_PREEMPT is not set CONFIG_PREEMPT_NONE=y diff --git a/target/linux/generic/config-3.8 b/target/linux/generic/config-3.8 index 5008d7c54b..bd51a03c04 100644 --- a/target/linux/generic/config-3.8 +++ b/target/linux/generic/config-3.8 @@ -2344,6 +2344,7 @@ CONFIG_PPP_MULTILINK=y # CONFIG_PPS_CLIENT_GPIO is not set # CONFIG_PPS_CLIENT_KTIMER is not set # CONFIG_PPS_CLIENT_LDISC is not set +# CONFIG_PPS_CLIENT_PARPORT is not set # CONFIG_PPS_DEBUG is not set # CONFIG_PPTP is not set # CONFIG_PREEMPT is not set |