/* Create instances of net_device and wl_private for the new adapter and register the device's entry points in the net_device structure.  */
struct net_device* et131x_device_alloc(void)
/* Create instances of net_device and wl_private for the new adapter and register the device's entry points in the net_device structure.  */
struct net_device* et131x_device_alloc(void)
{
	struct net_device *netdev;
	netdev = alloc_etherdev(sizeof(struct et131x_adapter));
	if (netdev == NULL) {
		printk(KERN_ERR "et131x: Alloc of net_device struct failed\n");
		return NULL;
	}
	netdev->watchdog_timeo = ET131X_TX_TIMEOUT;
	netdev->netdev_ops = &et131x_netdev_ops;
	return netdev;
}