Re: zd1211rw couldn't load firmware. Error number -145 with Kernel 2.6.30

View: New views
1 Messages — Rating Filter:   Alert me  

Re: zd1211rw couldn't load firmware. Error number -145 with Kernel 2.6.30

by Hin-Tak Leung :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- On Thu, 30/7/09, Hin-Tak Leung <hintak_leung@...> wrote:

> --- On Thu, 30/7/09, Mladen Horvat
> <acid-burn@...>
> wrote:
>
> > Ok, finally managed with the help of a friend to
> compile
> > the vender driver
> > 3.0.0.56 with the mips 2.6.30 kernel i use here.
> > Here is a patch that was needed to get it finally
> compiled
> > under 2.6.30.
> > http://pastebin.com/m17687d4e
>
> Hmm, the net_ops is new and should only generates a warning
> with vanilla 2.6.30 . Your kernel source tree is not vanilla
> 2.6.30, is it? If you need the net_ops change, your tree is
> probably closer to 2.6.31 rcX . (since it generates a
> warning on ifconfig up, I know about it and it is just not
> urgent/immediate yet in 2.6.30)

I went and looked at the git log detail of the net_device_ops change (
commit d314774cf2cd5dfeb39a00d37deee65d4c627927
Author: Stephen Hemminger <shemminger@...>
Date:   Wed Nov 19 21:32:24 2008 -0800) and it was introduced in 2.6.28, actually.  But we are both right! The change allows for optional backward compatibility, while emitting a warning. The default is yes: CONFIG_COMPAT_NET_DEV_OPS/COMPAT_NET_DEV_OPS=y .  
So I left it at 'yes' (fedora 11 vendor kernel in one of my boxes, custom kernel on the other box, but I normally just do 'make oldconfig', so I inherited the default) in both of my boxes.

It seems that you have opted for 'no' manually, so you needed to migrate to the net_device_ops api structure right away. Interesting differences - same source tree, just different kernel build options. Mystery solved. :-)


     


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs