.\" 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" "29 May 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 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. .PP 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. .PP 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 .PP If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com). .PP This documentation was generated with kernel version 2.5.70.