Subject: CVS commit: [netbsd-4] src/distrib/utils/sysinst
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 10/24/2007 22:19:08
Module Name:	src
Committed By:	xtraeme
Date:		Wed Oct 24 22:19:08 UTC 2007

Modified Files:
	src/distrib/utils/sysinst [netbsd-4]: net.c

Log Message:
Pull up following revision(s) (requested by jmmv in ticket #940):
	distrib/utils/sysinst/net.c: revision 1.116
Use get_media_subtype_string instead of get_media_mode_string to determine
the card's current media type.  Otherwise it always defaults to 'autoselect'
which is not supported by all cards (e.g. cs(4) in NetBSD/shark).
This was causing problems when configuring an interface with dhclient, as
sysinst could incorrectly reset the media type (the net_media variable) to
'autoselect', writing incorrect ifconfig.<if> files in the target file system.


To generate a diff of this commit:
cvs rdiff -r1.113.2.2 -r1.113.2.3 src/distrib/utils/sysinst/net.c

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