I must thank KeithB for creating a version of the network driver that
has overall worked! I'm using kernel 2.6.26, although right now the
latest stable is .27, and .28 will probably be out within days (unless
it already is and I'm slow).

The only change I remember needing to make to get it to compile here was
on line 561 (I think). In recent kernels, dev_get_by_name's invocation
prototype seems to have changed and requires two parameters instead of
one.

After a bit of googling to find out what to change it to, I'm seeing
that newer code seems to just need to insert init_net and everything
suddenly works.

So, I needed to change
  if( !(v->ether=dev_get_by_name(name)) )
to
  if( !(v->ether=dev_get_by_name(&init_net, name)) )
and it immediately not only compiled but modprobed perfectly.

init_net seems to not need to be defined anywhere; maybe it's hidden
amongst some headers.

-- 
BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on 
Gutsy/kernel 2.6.22
https://bugs.launchpad.net/bugs/210876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to