FC5T2 and ndiswrapper

Neal Becker ndbecker2 at gmail.com
Sat Jan 21 13:50:05 UTC 2006


Joel Rittvo wrote:

> Neal Becker wrote:
> 
>> You'll be happy to know, that ndiswrapper is working for me on the latest
>> kernel.   I used the ndiswrapper cvs.  It has a patch for 2.6.16.
>> Unfortunately, the current kernel claims to be 2.6.15, so I just modified
>> the patch slightly.
> 
> 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;




More information about the fedora-test-list mailing list