.\" 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_SET_MODE" "" "06 October 2005" "" ""
.SH NAME
sis900_set_mode \- Set the media mode of mac register.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void sis900_set_mode (long \fIioaddr\fB, int \fIspeed\fB, int \fIduplex\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIioaddr\fB\fR
the address of the device
.TP
\fB\fIspeed\fB\fR
the transmit speed to be determined
.TP
\fB\fIduplex\fB\fR
the duplex mode to be determined
.SH "DESCRIPTION"
.PP
Set the media mode of mac register txcfg/rxcfg according to
speed and duplex of phy. Bit EDB_MASTER_EN indicates the EDB
bus is used instead of PCI bus. When this bit is set 1, the
Max DMA Burst Size for TX/RX DMA should be no larger than 16
double words.