Re: [PATCH] Add init_dummy_netdev() and fix EMAC driver using it

2009-01-14 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 14 Jan 2009 11:00:05 +0100 (CET) > On Wed, 14 Jan 2009, Benjamin Herrenschmidt wrote: > > This adds an init_dummy_netdev() function that gets a network device > > structure (allocation and lifetime entirely under caller's control) and > > initialize the minimum

Re: [PATCH] Add init_dummy_netdev() and fix EMAC driver using it

2009-01-14 Thread Geert Uytterhoeven
On Wed, 14 Jan 2009, Benjamin Herrenschmidt wrote: > This adds an init_dummy_netdev() function that gets a network device > structure (allocation and lifetime entirely under caller's control) and > initialize the minimum amount of fields so it can be used to schedule > NAPI polls without registerin

[PATCH] Add init_dummy_netdev() and fix EMAC driver using it

2009-01-13 Thread Benjamin Herrenschmidt
This adds an init_dummy_netdev() function that gets a network device structure (allocation and lifetime entirely under caller's control) and initialize the minimum amount of fields so it can be used to schedule NAPI polls without registering a full blown interface. This is to be used by drivers tha