lkml.org 
[lkml]   [1997]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: init_etherdev() vs. register_netdev()
Date
> was not put in init_etherdev?  Are init_etherdev() and register_netdev()
> mutually exclusive functions (they seem to be, because in the etherexpress
> 100 driver, there is an #ifdef that uses either init_etherdev() or another
> mechanism (including register_netdev()))... Is this an oversight or a
> feature?

Its an oversight that init_ethdev doesnt set the index. Add

dev->ifindex=dev_new_index();

at the bottom of the function

Added to my patches


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.047 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site