.\" 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 "MDIO_WRITE" "" "06 October 2005" "" ""
.SH NAME
mdio_write \- write MII PHY register
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void mdio_write (struct net_device * \fInet_dev\fB, int \fIphy_id\fB, int \fIlocation\fB, int \fIvalue\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInet_dev\fB\fR
the net device to write
.TP
\fB\fIphy_id\fB\fR
the phy address to write
.TP
\fB\fIlocation\fB\fR
the phy regiester id to write
.TP
\fB\fIvalue\fB\fR
the register value to write with
.SH "DESCRIPTION"
.PP
Write MII registers with \fIvalue\fR through MDIO and MDC
using MDIO management frame structure and protocol(defined by ISO/IEC)
please see SiS7014 or ICS spec