.\" Documentation by: Lho .\" Documentation by: Chang .\" Documentation copyright: 1999 Silicon Integrated System Corp. .\" This documentation comes with the following legal notice: .\" .\" 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. .\" .\" 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. .\" .\" 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 .\" .\" For comments on the formatting of this manpage, please contact Michael Still .\" 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 "SIS96X_GET_MAC_ADDR" "9" "07 August 2003" "" "" .SH NAME sis96x_get_mac_addr \- Get MAC address for SiS962 or SiS963 model .SH SYNOPSIS .sp \fB .sp int __devinit sis96x_get_mac_addr (struct pci_dev * \fIpci_dev\fB, struct net_device * \fInet_dev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpci_dev\fB\fR the sis900 pci device .TP \fB\fInet_dev\fB\fR the net device to get address for .SH "DESCRIPTION" .PP SiS962 or SiS963 model, use EEPROM to store MAC address. And EEPROM is shared by LAN and 1394. When access EEPROM, send EEREQ signal to hardware first and wait for EEGNT. If EEGNT is ON, EEPROM is permitted to be access by LAN, otherwise is not. After MAC address is read from EEPROM, send EEDONE signal to refuse EEPROM access by LAN. The EEPROM map of SiS962 or SiS963 is different to SiS900. The signature field in SiS962 or SiS963 spec is meaningless. MAC address is read into \fInet_dev\fR->dev_addr. .SH "ABOUT THIS DOCUMENT" .PP This documentation was generated with kernel version 2.6.0.