/* Magic incantation sequence for full duplex on the supported cards.  */
static int set_realtek_fdx(struct net_device *dev)
/* Magic incantation sequence for full duplex on the supported cards.  */
static int set_realtek_fdx(struct net_device *dev)
{
	long ioaddr = dev->base_addr;
	outb(0xC0 + E8390_NODMA, ioaddr + NE_CMD);
	outb(0xC0, ioaddr + 0x01);
	outb(0x40, ioaddr + 0x06);
	outb(0x00, ioaddr + 0x01);
	outb(E8390_PAGE0 + E8390_NODMA, ioaddr + NE_CMD);
	return 0;
}