diff options
author | Stefan Assmann <sassmann@kpanic.de> | 2014-01-29 10:19:03 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-02-01 00:30:23 +0100 |
commit | 98ee83982e19ad71b1b7bc98ab1a9111cb1a3215 (patch) | |
tree | 2e0afce7ea79f63ba39f3d59be4e90e13f8d43c6 /backport/backport-include/linux/ptp_clock_kernel.h | |
parent | d114f15cbaf8c3c70c88dec96434f7a07077afb3 (diff) |
backports: igb fixes for linux-3.6
- backport mmd_eee_adv_to_ethtool_adv_t
- add define to map ptp_clock_register() to old version
- add patches/collateral-evolutions/network/84-ethernet/0004-igb_err_handler.patch
- add patches/collateral-evolutions/network/84-ethernet/0005-igb_mdi.patch
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'backport/backport-include/linux/ptp_clock_kernel.h')
-rw-r--r-- | backport/backport-include/linux/ptp_clock_kernel.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backport/backport-include/linux/ptp_clock_kernel.h b/backport/backport-include/linux/ptp_clock_kernel.h new file mode 100644 index 00000000..daf1182c --- /dev/null +++ b/backport/backport-include/linux/ptp_clock_kernel.h @@ -0,0 +1,14 @@ +#ifndef __BACKPORT_PTP_CLOCK_KERNEL_H +#define __BACKPORT_PTP_CLOCK_KERNEL_H + +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) +#include_next <linux/ptp_clock_kernel.h> + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) +#define ptp_clock_register(info,parent) ptp_clock_register(info) +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) */ + +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) */ + +#endif /* __BACKPORT_PTP_CLOCK_KERNEL_H */ |