Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 08/24/1997 15:30:02
Sun Aug 24 08:22:29 PDT 1997
Update of /a/cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv27064

Modified Files:
Log Message:
Conditionalize DEBUG printf on dp8390_debug.  Pointed out by Jonathan

Sun Aug 24 08:25:42 PDT 1997
Update of /cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv27057

Modified Files:
      Tag: marc-pcmcia
	smc91cxx.c smc91cxxvar.h 
Log Message:
Fix a few annoying bugs:
- Make sure the default media is set up correctly in smc91cxx_init().
- Fix a memory leak in the "resume from memory allocation interrupt" logic.
  Acually, completely toss the logic that was in the original driver, and
  replace it with a much simpler scheme from Michael Hitch's NetBSD/amiga
  "es" driver: Rather than "resuming" the transmission that causes us
  to use the memory allocation interrupt, simply free the just-allocated
  memory back to the chip's MMU, and use the standard "start" logic, which
  will reallocate it from the MMU in a straightforward way.
- Only set IFF_OACTIVE if we can't transmit any more packets (i.e. we
  were forced to use the memory allocation interrupt).