Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 09/29/1997 20:40:03
thorpej
Mon Sep 29 13:34:03 PDT 1997
Update of /cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv29676

Modified Files:
      Tag: marc-pcmcia
	elink3.c 
Log Message:
Fix a few bugs in the enable/disable hook logic:
- Place the code to enable/disable in functions and use them, rather than
  duplicating it in a few places.  Make sure the "enabled" flag is set
  properly even if there is no hardware enable hook.
- Add additional checks for the "enabled" flag so that we don't attempt to
  write hardware registers when the card power is turned off.


thorpej
Mon Sep 29 13:37:12 PDT 1997
Update of /cvsroot/src/sys/dev/pcmcia
In directory netbsd1:/var/slash-tmp/cvs-serv188

Modified Files:
      Tag: marc-pcmcia
	pcmcia.c 
Log Message:
- In pcmcia_function_enable(), don't panic if the function is already
  enabled; just return, instead.
- In pcmcia_function_disable(), add a check for "function is already
  disabled", and, if it is, just return.