Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 11/10/2003 12:30:27
Module Name:	src
Committed By:	drochner
Date:		Mon Nov 10 12:30:27 UTC 2003

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

Log Message:
Reading the (non-MII) media status if the card is not running yields
"0xffff" (eg on i386) or a machine check (on alpha).
So don't read the status if !(UP&RUNNING).


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 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.