~ubuntu-branches/ubuntu/vivid/ndiswrapper/vivid

« back to all changes in this revision

Viewing changes to driver/wrapper.c

  • Committer: Package Import Robot
  • Author(s): Julian Andres Klode
  • Date: 2013-07-14 20:02:35 UTC
  • mfrom: (1.3.17)
  • Revision ID: package-import@ubuntu.com-20130714200235-ul4rjhzwojo2q2t1
Tags: 1.58-1
* Imported Upstream version 1.58 (Closes: #707665)
* Use $KERNELRELEASE as target kernel version (Closes: #693638)
* Add BUILT_MODULE_NAME to dkms config file (Workaround for: #690747)
* Add support for kernel 3.9
* Patch userland for 3.X kernels
* Set Standards-Version to 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
static int __init wrapper_init(void)
73
73
{
74
74
#ifdef TAINT_OOT_MODULE
 
75
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
75
76
        add_taint(TAINT_OOT_MODULE);
 
77
#else
 
78
        add_taint(TAINT_OOT_MODULE, LOCKDEP_NOW_UNRELIABLE);
 
79
#endif
76
80
#endif
77
81
        printk(KERN_INFO "%s version %s loaded (smp=%s, preempt=%s)\n",
78
82
               DRIVER_NAME, DRIVER_VERSION,