Subject: CVS commit: src
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 11/02/1998 14:31:38
Module Name:	src
Committed By:	thorpej
Date:		Mon Nov  2 22:31:37 UTC 1998

Modified Files:
	src/sys/dev/mii: exphy.c inphy.c lxtphy.c nsphy.c qsphy.c tlphy.c
Log Message:
When doing a media change service request, use the media word from the
current ifmedia_entry, not from the user-supplied media word.  The
user supplied media word may not necessarily match e.g. instance (if
the parent MAC driver is intentionally ignoring instance if its expecting
multiple PHYs with non-overlapping media, e.g. TI ThunderLAN) the media
word we are actually switching to.

Since PHY drivers use `instance' to determine if they should isolate
themselves, the ThunderLAN PHY was sometimes being incorrectly isolated
when in fact the user attempted to select that PHY (for e.g. BNC operation).