igb: place a pointer to the netdev struct in the ring itself
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Oct 2009 15:53:06 +0000 (15:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 08:20:32 +0000 (01:20 -0700)
commite694e964fc1241b4981873bdccce70438d5f0394
tree5073282de0459052a9647ba247763c143d23ffc3
parent85ad76b2f9c4956ec90c86298b22bb35c326e772
igb: place a pointer to the netdev struct in the ring itself

This change adds a pointer to the netdev to the ring itself.  The idea being
at some point in the future it will be possible to support multiple netdevs
from a single adapter struct.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c