/* This function should be used by low level device drivers in a similar way as ether_setup() is used by normal network device drivers  */
static void irda_device_setup(struct net_device *dev)
/* This function should be used by low level device drivers in a similar way as ether_setup() is used by normal network device drivers  */
static void irda_device_setup(struct net_device *dev)
{
	dev->hard_header_len = 0;
	dev->addr_len        = LAP_ALEN;
	dev->type            = ARPHRD_IRDA;
	dev->tx_queue_len    = 8;
	memset(dev->broadcast, 0xff, LAP_ALEN);
	dev->mtu = 2048;
	dev->flags = IFF_NOARP;
}