/* ether_setup - setup Ethernet network device @dev: network device Fill in the fields of the device structure with Ethernet-generic values.  */
void ether_setup(struct net_device *dev)
/* ether_setup - setup Ethernet network device @dev: network device Fill in the fields of the device structure with Ethernet-generic values.  */
void ether_setup(struct net_device *dev)
{
	dev->header_ops		= &eth_header_ops;
	dev->type		= ARPHRD_ETHER;
	dev->hard_header_len 	= ETH_HLEN;
	dev->mtu		= ETH_DATA_LEN;
	dev->addr_len		= ETH_ALEN;
	dev->tx_queue_len	= 1000;
	dev->flags		= IFF_BROADCAST|IFF_MULTICAST;
	memset(dev->broadcast, 0xFF, ETH_ALEN);
}