/* Set up the duplex state on the PHY  */
static void ET1310_PhyDuplexMode(struct et131x_adapter *etdev, u16 duplex)
/* Set up the duplex state on the PHY  */
static void ET1310_PhyDuplexMode(struct et131x_adapter *etdev, u16 duplex)
{
	u16 data;
	MiRead(etdev, PHY_CONTROL, &data);
	data &= ~0x100;
	if (duplex == TRUEPHY_DUPLEX_FULL)
		data |= 0x100;
	MiWrite(etdev, PHY_CONTROL, data);
}