.\" Documentation by: Lho .\" Documentation by: Chang .\" Documentation copyright: 1999 Silicon Integrated System Corp. .\" This documentation comes with the following legal notice: .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA .\" .\" For comments on the formatting of this manpage, please contact Michael Still .\" 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" "9" "14 August 2003" "" "" .SH NAME sis900_check_mode \- check the media mode for sis900 .SH 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. .SH "ABOUT THIS DOCUMENT" .PP This documentation was generated with kernel version 2.6.0.