Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Any quick n'dirty way to get orinoco usb to compiler with recent kernel: msg#00005

Subject: Re: Any quick n'dirty way to get orinoco usb to compiler with recent kernels
Try the following patch for 2.6.20 kernels. I am sending this using my 
W200 / WEP. Haven't tried WPA - but I'm
not too ambitious. It's only be running a few minutes so can't say 
whether this will last!


$ iwconfig eth1
eth1      IEEE 802.11b  ESSID:"Tancredi"  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 
00:14:BF:C2:E5:AE  
          Bit Rate:11 Mb/s   Sensitivity:1/3 
          Retry limit:4   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=35/92  Signal level=-52 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:27
          Tx excessive retries:1  Invalid misc:0   Missed beacon:0


--- usb/orinoco.c       2007-04-26 21:01:17.000000000 +0800
+++ usb-1/orinoco.c     2007-04-26 21:17:38.000000000 +0800
@@ -4284,8 +4284,8 @@
        strncpy(info->driver, DRIVER_NAME, sizeof(info->driver) - 1);
        strncpy(info->version, DRIVER_VERSION, sizeof(info->version) - 1);
        strncpy(info->fw_version, priv->fw_name, 
sizeof(info->fw_version) - 1);
-       if (dev->dev.parent)
-               strncpy(info->bus_info, dev->dev.parent->bus_id,
+       if ((dev->class_dev).parent->dev)
+               strncpy(info->bus_info, 
(dev->class_dev).parent->dev->bus_id,
                        sizeof(info->bus_info) - 1);
        else
                snprintf(info->bus_info, sizeof(info->bus_info) - 1,
Jeremy Visser wrote:
> Pavel Roskin wrote:
>> I've updated the orinoco-usb branch for the current kernel API.  But the
>> code is completely untested.
>
> Doesn't compile for me. Here's the output I got:
>
>> make -C /usr/src/linux-headers-2.6.20-15-lowlatency 
>> M=/home/jeremy/Builds/orinoco-usb KERNELRELEASE=2.6.20-15-lowlatency modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-lowlatency'
>>   CC [M]  /home/jeremy/Builds/orinoco-usb/orinoco.o
>> /home/jeremy/Builds/orinoco-usb/orinoco.c: In function ‘orinoco_get_drvinfo’:
>> /home/jeremy/Builds/orinoco-usb/orinoco.c:4287: error: ‘struct net_device’ 
>> has no member named ‘dev’
>> /home/jeremy/Builds/orinoco-usb/orinoco.c:4288: error: ‘struct net_device’ 
>> has no member named ‘dev’
>> make[2]: *** [/home/jeremy/Builds/orinoco-usb/orinoco.o] Error 1
>> make[1]: *** [_module_/home/jeremy/Builds/orinoco-usb] Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-lowlatency'
>> make: *** [modules] Error 2
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Orinoco-devel mailing list
> Orinoco-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/orinoco-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Orinoco-devel mailing list
Orinoco-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/orinoco-devel
<Prev in Thread] Current Thread [Next in Thread>