Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/11/1999 10:48:20
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Oct 11 17:48:20 UTC 1999

Modified Files:
	syssrc/sys/dev/ic: elink3.c

Log Message:
- Encapsulate the EEPROM reading code into ep_read_eeprom(), and use
  the correct "read eeprom" opcode on the RoadRunner (which has a larger
  EEPROM, and thus needs a different opcode to make room for the larger
  offsets).
- Reset and enable the MII before probing for PHYs, and reset and enable
  the MII in epinit().
- Be more conservative when resetting the interface after a transmit error.

Based on PR #8331, from Ryoji KATO.

Closer on 3c574, probably will work fine with the 3CCFEM556BI (which
won't have an older rev TDK Semi PHY, and which was tested by the author
of the PR).


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 syssrc/sys/dev/ic/elink3.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.