FC5T2 and ndiswrapper

Joel Rittvo joelonlinux at optonline.net
Sun Jan 22 10:16:15 UTC 2006


Neal Becker wrote:

>> Where do I get this patch, and what did you do to modify it before
>> applying it?  Thanks for any help with this.  I've given up for now on
>> trying to get the built-in kernel support working, so I am back to
>> trying to get NDISwrapper working again.
>>
>> Joel
>>
> 
> It's not quite correct, but OK for fedora devel (problem is kernel claims to
> be 2.6.15 when it's really 2.6.16gitsomething)
> 
> This is against ndiswrapper CVS:
> 
> diff -u ndiswrapper/driver/loader.c{~,}
> --- ndiswrapper/driver/loader.c~        2006-01-07 23:51:53.000000000 -0500
> +++ ndiswrapper/driver/loader.c 2006-01-20 18:43:01.000000000 -0500
> @@ -766,7 +766,7 @@
>  #ifdef CONFIG_USB
>         if (wrap_usb_devices) {
>                 memset(&wrap_usb_driver, 0, sizeof(wrap_usb_driver));
> -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
>                 wrap_usb_driver.owner = THIS_MODULE;
>  #endif
>                 wrap_usb_driver.name = DRIVER_NAME;
> 

Thanks Neal, and Roger as well.  I used both the patch and the compile
options (belt and suspenders???).  It is all working now.  I appreciate
the help.




More information about the test mailing list