Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-4] src/sys/dev/ic
Module Name: src
Committed By: bouyer
Date: Sat Feb 24 13:25:29 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 #462):
sys/dev/ic/rtl8169.c: revision 1.80 - 1.81
sys/dev/ic/rtl81x9.c: revision 1.70
Use new RTK_HWREV_8100E_SPIN2 macro. (missed in the previous)
Don't set RTK_CFG1_FULLDUPLEX bit in RTK_CFG1 register
since it's available only on RTL8129. From FreeBSD.
As defined in rtl81x9reg.h, bits of 0x80 and 0x40 in RTK_CFG1
seem to indicate LEDS0 and LEDS1 configuration initialized by
EEPROM settings, and they seem read only on my quick tests with
two 8169S based cards.
RTK_HWREV_8100E_SPIN2 is a PCIe device so also check it
in rtk_setmulti() to handle quirk. Noticed by OpenBSD.
To generate a diff of this commit:
cvs rdiff -r1.72.2.6 -r1.72.2.7 src/sys/dev/ic/rtl8169.c
cvs rdiff -r1.66.2.3 -r1.66.2.4 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.
Home |
Main Index |
Thread Index |
Old Index