Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



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.




Home | Main Index | Thread Index | Old Index