/* Returns 0 on success, errno on failure (as defined in errno.h)  */
int et131x_open(struct net_device *netdev)
/* Returns 0 on success, errno on failure (as defined in errno.h)  */
int et131x_open(struct net_device *netdev)
{
	int result = 0;
	struct et131x_adapter *adapter = netdev_priv(netdev);
	add_timer(&adapter->ErrorTimer);
	result = request_irq(netdev->irq, et131x_isr, IRQF_SHARED,
					netdev->name, netdev);
	if (result) {
		dev_err(&adapter->pdev->dev, "c ould not register IRQ %d\n",
			netdev->irq);
		return result;
	}
	et131x_rx_dma_enable(adapter);
	et131x_tx_dma_enable(adapter);
	et131x_enable_interrupts(adapter);
	adapter->Flags |= fMP_ADAPTER_INTERRUPT_IN_USE;
	netif_start_queue(netdev);
	return result;
}