Messages in this thread | | | From | (Alan Cox) | Subject | Re: init_etherdev() vs. register_netdev() | Date | Mon, 31 Mar 1997 20:19:34 +0100 (BST) |
| |
> 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
| |