Name

sis900_read_mode — read media mode for sis900 internal phy

Synopsis

void sis900_read_mode (struct net_device * net_dev, int * speed, int * duplex);

Arguments

net_dev

the net device to read mode for

speed

the transmit speed to be determined

duplex

the duplex mode to be determined

Description

The capability of remote end will be put in mii register autorec after auto-negotiation. Use AND operation to get the upper bound of speed and duplex between two ends.