[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>
This commit is contained in:
David S. Miller
2007-07-17 22:19:10 -07:00
parent 80dc35dfb9
commit 9184a04632
2 changed files with 130 additions and 132 deletions

View File

@@ -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 */