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

Re: CVS compile broken with kernel 2.6.9: msg#00001

Subject: Re: CVS compile broken with kernel 2.6.9
On Wed, 20 Oct 2004, Thomas Vollmer wrote:

for the files. With kernel 2.6.9 the compilation is broken for me:

make[1]: Entering directory `/usr/src/linux-2.6.9'
 CC [M]  /work/instdsk/linux/drivers/orinoco/cvs/orinoco/orinoco_usb.o
[skip]
/work/instdsk/linux/drivers/orinoco/cvs/orinoco/orinoco_usb.c:837: error:
structure has no member named `timeout'

Fixed. Thank you for report. This filed was removed and it looks like it shouldn't be used with any kernel. Unfortunately, I cannot find my Orinoco USB, so I cannot test the patch.

/work/instdsk/linux/drivers/orinoco/cvs/orinoco/orinoco_usb.c:1343:
warning: passing arg 2 of `writew' makes pointer from integer without a
cast

Those warnings still need to be fixed. Al Viro suggested that we use ioread*/iowrite* functions, but no other driver uses them yet, so I'm quite cautious about it.

We've got a bigger problem with Linux 2.6.9-bk6 where pci_save_state takes one argument rather than two. This breaks orinoco_pci in all versions of the driver, including 0.15rc2. This would be much trickier to fix.

--
Regards,
Pavel Roskin


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>