compat-$(CONFIG_COMPAT_KERNEL_27) += compat-2.6.27.o
compat-$(CONFIG_COMPAT_KERNEL_28) += compat-2.6.28.o
compat-$(CONFIG_COMPAT_KERNEL_29) += compat-2.6.29.o
-compat-$(CONFIG_COMPAT_KERNEL_30) += compat-2.6.30.o
compat-$(CONFIG_COMPAT_KERNEL_32) += compat-2.6.32.o
compat-$(CONFIG_COMPAT_KERNEL_33) += compat-2.6.33.o
compat-$(CONFIG_COMPAT_KERNEL_35) += compat-2.6.35.o
#include <net/compat.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14))
-
/* 2.6.14 compat code goes here */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) */
-
#include <net/compat.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
-
/* 2.6.18 compat code goes here */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) */
-
#include <net/compat.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
-
/* 2.6.19 compat code goes here */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) */
-
#include <net/compat.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21))
-
/* 2.6.21 compat code goes here */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21) */
-
#include <net/compat.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22))
-
/* 2.6.22 compat code goes here */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) */
-
#include <net/compat.h>
-/* All things not in 2.6.22 */
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23))
-
/* On net/core/dev.c as of 2.6.24 */
int __dev_addr_delete(struct dev_addr_list **list, int *count,
void *addr, int alen, int glbl)
EXPORT_SYMBOL(pci_try_set_mwi);
#endif
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) */
-
*/
#include <net/compat.h>
-
-/* All things not in 2.6.22 and 2.6.23 */
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
-
#include <net/arp.h>
/*
}
EXPORT_SYMBOL(compat_is_pcie);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) */
-
* Compatibility file for Linux wireless for kernels 2.6.25.
*/
-/* All things not in 2.6.22, 2.6.23 and 2.6.24 */
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25))
-
#include <linux/miscdevice.h>
/**
EXPORT_SYMBOL(strict_strtoul);
EXPORT_SYMBOL(strict_strtol);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) */
-
#include <net/compat.h>
-/* All things not in 2.6.25 */
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26))
-
-
/* 2.6.24 does not have the struct kobject with a name */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
}
EXPORT_SYMBOL_GPL(dev_set_name);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) */
-
*/
#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
-
#include <linux/pci.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24))
#include <linux/mmc/sdio.h>
EXPORT_SYMBOL_GPL(debugfs_remove_recursive);
#endif /* CONFIG_DEBUG_FS */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) */
-
*/
#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28))
-
#include <linux/usb.h>
#include <linux/tty.h>
#include <asm/poll.h>
}
EXPORT_SYMBOL(n_tty_ioctl_helper);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) */
*/
#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
-
#include <linux/usb.h>
#include <linux/etherdevice.h>
EXPORT_SYMBOL_GPL(init_dummy_netdev);
/* Source: net/core/dev.c */
-
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) */
-
+++ /dev/null
-/*
- * Copyright 2007 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Compatibility file for Linux wireless for kernels 2.6.30.
- */
-
-#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30))
-
-/* 2.6.30 compat code goes here */
-
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) */
-
*/
#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32))
-
#include <linux/netdevice.h>
int __dev_addr_add(struct dev_addr_list **list, int *count,
}
EXPORT_SYMBOL_GPL(__dev_addr_unsync);
-#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)) */
-
*/
#include <linux/compat.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
-
#include <linux/autoconf.h>
#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
#endif /* CONFIG_PCCARD */
-#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
-
*/
#include <linux/compat.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
#include <linux/ctype.h>
/**
}
EXPORT_SYMBOL(noop_llseek);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) */
*/
#include <linux/compat.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
-
#include <linux/usb.h>
#ifdef CONFIG_COMPAT_USB_URB_THREAD_FIX
EXPORT_SYMBOL_GPL(compat_usb_scuttle_anchored_urbs);
#endif /* CONFIG_COMPAT_USB_URB_THREAD_FIX */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36) */
*/
#include <linux/compat.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
-
#include <linux/netdevice.h>
#include <net/sock.h>
#include <linux/nsproxy.h>
}
EXPORT_SYMBOL(compat_genl_unregister_family);
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) */