Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 07/02/2004 16:58:36
Module Name:	src
Committed By:	bouyer
Date:		Fri Jul  2 16:58:36 UTC 2004

Modified Files:
	src/sys/dev/ic: elinkxl.c

Log Message:
Fix PR 25788 by Arto Huusko using a cleaned up version of the provided patch.
Not reading the mii media status if the interface isn't up doesn't hurt,
as the real media status isn't reported if the interface isn't up anyway
(checked on i386).
On my alpha500, I tracked down the machine check to the GO_WINDOW(4) at
line 1858 of elinkxl.c. It's possible that the problem which was fixed in
rev 1.72 was also the GO_WINDOW(4) used in the non-mii case. tr from ddb
and a single-step show different results, and I trust the single-step
one :)


To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 src/sys/dev/ic/elinkxl.c

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