port->stopped_map = 0; 
static struct net_device * __init veth_probe_one(int vlan, struct device *vdev){	struct net_device *dev;	struct veth_port *port;	int i, rc;	dev = alloc_etherdev(sizeof (struct veth_port));	if (! dev) {		veth_error("Unable to allocate net_device structure!\n");		return NULL;	}	port = (struct veth_port *) dev->priv;	spin_lock_init(&port->pending_gate);	rwlock_init(&port->mcast_gate);	for (i = 0; i < HVMAXARCHITECTEDLPS; i++) {		HvLpVirtualLanIndexMap map;		if (i == this_lp)			continue;		map = HvLpConfig_getVirtualLanIndexMapForLp(i);		if (map & (0x8000 >> vlan))			port->lpar_map |= (1 << i);	}	port->dev = vdev;	dev->dev_addr[0] = 0x02;	dev->dev_addr[1] = 0x01;	dev->dev_addr[2] = 0xff;	dev->dev_addr[3] = vlan;	dev->dev_addr[4] = 0xff;	dev->dev_addr[5] = this_lp;	dev->mtu = VETH_MAX_MTU;	memcpy(&port->mac_addr, dev->dev_addr, 6);	dev->open = veth_open;	dev->hard_start_xmit = veth_start_xmit;	dev->stop = veth_close;	dev->get_stats = veth_get_stats;	dev->change_mtu = veth_change_mtu;	dev->set_mac_address = NULL;	dev->set_multicast_list = veth_set_multicast_list;	SET_ETHTOOL_OPS(dev, &ops);	SET_NETDEV_DEV(dev, vdev);	rc = register_netdev(dev);	if (rc != 0) {		veth_error("Failed registering net device for vlan%d.\n", vlan);		free_netdev(dev);		return NULL;	}	veth_info("%s attached to iSeries vlan %d (LPAR map = 0x%.4X)\n",			dev->name, vlan, port->lpar_map);	return dev;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e0808494ff44d5cedcaf286bb8a93d08e8d9af49/iseries_veth.c/clean/drivers/net/iseries_veth.c