Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 10/06/1997 16:30:05
thorpej
Mon Oct  6 09:26:49 PDT 1997
Update of /cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv13701

Modified Files:
      Tag: marc-pcmcia
	smc91cxx.c elink3.c 
Log Message:
Fix a brain-o in my last power management changes.  Specifically, allow
the media callbacks to be used while the interface is powered off.  If
the interface is powered off, return "none" in response to a "get media",
and in the case of "set media", just return success, since the init routine
will properly program the hardware when power is enabled.  If we return
an error in the powered off case, ifconfig(8) will lose because it performs
the "set address" (which will enable power on a disabled interface) after
parsing the entire command line.