On Tue, 12 Dec 2006 16:27:38 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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 registering a full blown interface. This is to be > used by drivers that need to tie several hardware interfaces to a single > NAPI poll scheduler due to HW limitations. > > It also updates the ibm_emac driver to use that instead of doing it's > own initializations by hand. > > Symbol is exported GPL only a I don't think we want binary drivers doing > that sort of acrobatics (if we want them at all). > > Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > --- Could we split off the NAPI context part of network_device instead? I'll work up something for 2.6.21. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html