Name

sis900_auto_negotiate — Set the Auto-Negotiation Enable/Reset bit.

Synopsis

void sis900_auto_negotiate (struct net_device * net_dev, int phy_addr);

Arguments

net_dev

the net device to read mode for

phy_addr

mii phy address

Description

If the adapter is link-on, set the auto-negotiate enable/reset bit. autong_complete should be set to 0 when starting auto-negotiation. autong_complete should be set to 1 if we didn't start auto-negotiation. sis900_timer will wait for link on again if autong_complete = 0.