Subject: CVS commit: [netbsd-4] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 02/10/2007 14:25:58
Module Name:	src
Committed By:	tron
Date:		Sat Feb 10 14:25:58 UTC 2007

Modified Files:
	src/sys/dev/ic [netbsd-4]: rtl8169.c rtl81x9.c

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #437):
	sys/dev/ic/rtl81x9.c: revision 1.67
	sys/dev/ic/rtl8169.c: revision 1.77
Fix EEPROM functions for RTL8169SC chips:
rtl81x9.c:
 Increase delay on EEPROM access since EEPROM on RTL8169 based board
 seems to require slower clock. Also use common EE_DELAY() macro.
rtl8169.c:
 Use common rtk_read_eeprom() function to get Ethernet address on
 8169 chips because EEMODE_AUTOLOAD command was a workaround on
 original FreeBSD's driver and it doesn't work on 8169SC.
Problem reported and fix tested by Frank Lorenzen on current-users,
and also tested on 8139C with rtk(4) driver by me.


To generate a diff of this commit:
cvs rdiff -r1.72.2.3 -r1.72.2.4 src/sys/dev/ic/rtl8169.c
cvs rdiff -r1.66 -r1.66.2.1 src/sys/dev/ic/rtl81x9.c

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