.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SIS900_CHECK_MODE" "" "06 October 2005" "" ""
.SH NAME
sis900_check_mode \- check the media mode for sis900
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void sis900_check_mode (struct net_device * \fInet_dev\fB, struct mii_phy * \fImii_phy\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInet_dev\fB\fR
the net device to be checked
.TP
\fB\fImii_phy\fB\fR
the mii phy
.SH "DESCRIPTION"
.PP
Older driver gets the media mode from mii status output
register. Now we set our media capability and auto-negotiate
to get the upper bound of speed and duplex between two ends.
If the types of mii phy is HOME, it doesn't need to auto-negotiate
and autong_complete should be set to 1.