diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-17 22:19:10 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-18 01:20:00 -0700 |
commit | 9184a046328d2dfc9f2cf0f831e649a108492124 (patch) | |
tree | 46172c35543f0231c10e15cd727edb1ef3b3b552 /drivers/net/sunvnet.h | |
parent | 80dc35dfb98d2fbf3af0b829e3bf6e6a0f631cda (diff) | |
download | linux-9184a046328d2dfc9f2cf0f831e649a108492124.tar.bz2 |
[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.h | 4 |
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 */ |