aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sunvnet.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-17 22:19:10 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 01:20:00 -0700
commit9184a046328d2dfc9f2cf0f831e649a108492124 (patch)
tree46172c35543f0231c10e15cd727edb1ef3b3b552 /drivers/net/sunvnet.h
parent[SPARC64]: Simplify VDC device probing. (diff)
downloadlinux-dev-9184a046328d2dfc9f2cf0f831e649a108492124.tar.xz
linux-dev-9184a046328d2dfc9f2cf0f831e649a108492124.zip
[SPARC64]: Simplify VNET probing.
Only probe on the vdc-port VIO devices, create parent vnet objects on-demand. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunvnet.h')
-rw-r--r--drivers/net/sunvnet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/sunvnet.h b/drivers/net/sunvnet.h
index 1c887302d46d..7d3a0cac727b 100644
--- a/drivers/net/sunvnet.h
+++ b/drivers/net/sunvnet.h
@@ -60,11 +60,13 @@ struct vnet {
struct net_device *dev;
u32 msg_enable;
- struct vio_dev *vdev;
struct list_head port_list;
struct hlist_head port_hash[VNET_PORT_HASH_SIZE];
+
+ struct list_head list;
+ u64 local_mac;
};
#endif /* _SUNVNET_H */