aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sunvnet.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 01:19:10 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 04:20:00 -0400
commit9184a046328d2dfc9f2cf0f831e649a108492124 (patch)
tree46172c35543f0231c10e15cd727edb1ef3b3b552 /drivers/net/sunvnet.h
parent80dc35dfb98d2fbf3af0b829e3bf6e6a0f631cda (diff)
[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 {
60 struct net_device *dev; 60 struct net_device *dev;
61 61
62 u32 msg_enable; 62 u32 msg_enable;
63 struct vio_dev *vdev;
64 63
65 struct list_head port_list; 64 struct list_head port_list;
66 65
67 struct hlist_head port_hash[VNET_PORT_HASH_SIZE]; 66 struct hlist_head port_hash[VNET_PORT_HASH_SIZE];
67
68 struct list_head list;
69 u64 local_mac;
68}; 70};
69 71
70#endif /* _SUNVNET_H */ 72#endif /* _SUNVNET_H */