Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/12/2002 18:54:47
Module Name:	syssrc
Committed By:	chs
Date:		Tue Nov 12 16:54:46 UTC 2002

Modified Files:
	syssrc/sys/net: if_media.c

Log Message:
when there are multiple matches for the requested media, select the first
matching instance rather than the last one.  this restores the behaviour
in the multiple-match case to what it was when all the drivers only allowed
instance 0 (and in particular, makes autonegotiation of the on-board fxp
on my DK440LX board work again by default, which has two PHYs that both
advertise "auto").  as discussed on tech-net.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 syssrc/sys/net/if_media.c

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