/* Timer function for link up at driver load time  */
void et131x_link_detection_handler(unsigned long data)
/* Timer function for link up at driver load time  */
void et131x_link_detection_handler(unsigned long data)
{
	struct et131x_adapter *etdev = (struct et131x_adapter *) data;
	unsigned long flags;
	if (etdev->MediaState == 0) {
		spin_lock_irqsave(&etdev->Lock, flags);
		etdev->MediaState = NETIF_STATUS_MEDIA_DISCONNECT;
		etdev->Flags &= ~fMP_ADAPTER_LINK_DETECTION;
		spin_unlock_irqrestore(&etdev->Lock, flags);
		netif_carrier_off(etdev->netdev);
	}
}