.\" 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 "SIS630_SET_EQ" "9" "09 April 2004" "" ""
.SH NAME
sis630_set_eq \- set phy equalizer value for 630 LAN
.SH SYNOPSIS
.sp
\fB
.sp
void sis630_set_eq (struct net_device * \fInet_dev\fB, u8 \fIrevision\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInet_dev\fB\fR
the net device to set equalizer value
.TP
\fB\fIrevision\fB\fR
630 LAN revision number
.SH "DESCRIPTION"
.PP
630E equalizer workaround rule(Cyrus Huang 08/15)
PHY register 14h(Test)
.SH "BIT 14"
.PP
0 -- Automatically dectect (default)
1 -- Manually set Equalizer filter
.SH "BIT 13"
.PP
0 -- (Default)
1 -- Speed up convergence of equalizer setting
.SH "BIT 9"
.PP
0 -- (Default)
1 -- Disable Baseline Wander
Bit 3~7 -- Equalizer filter setting
.SH "LINK ON"
.PP
Set Bit 9, 13 to 1, Bit 14 to 0
Then calculate equalizer value
Then set equalizer value, and set Bit 14 to 1, Bit 9 to 0
.SH "LINK OFF"
.PP
Set Bit 13 to 1, Bit 14 to 0
.SH "CALCULATE EQUALIZER VALUE"
.PP
When Link is ON and Bit 14 is 0, SIS900PHY will auto-dectect proper equalizer value.
When the equalizer is stable, this value is not a fixed value. It will be within
a small range(eg. 7~9). Then we get a minimum and a maximum value(eg. min=7, max=9)
0 <= max <= 4 --> set equalizer to max
5 <= max <= 14 --> set equalizer to max+1 or set equalizer to max+2 if max == min
max >= 15 --> set equalizer to max+5 or set equalizer to max+6 if max == min
.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.6.0.