.\" 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" "" "06 October 2005" "" "" .SH NAME sis96x_get_mac_addr \- Get MAC address for SiS962 or SiS963 model .SH SYNOPSIS "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.