.\" 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 October 2005" "" "" .SH NAME sis630_set_eq \- set phy equalizer value for 630 LAN .SH SYNOPSIS "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