Subject: Re: The elink3 bug
To: Frank van der Linden <frank@wins.uva.nl>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: port-i386
Date: 08/17/1997 23:47:14
> I've done some investigating into the elink3 (ep driver) related crashes,
> and found the following:
> 
> 	- Removing the do { } while around mbuf macros did not result
> 	  in different code for elink3.o. Perhaps it avoided the problem
> 	  by changing code in other places slightly.

This directly contradicts my experience, by the way.

adding the do {} while (0)'s DID change the generated code, in all of
the builds with optimization that _I_ ran.



> 	- This seems to affect elink3.c in particular, because it
> 	  uses bus_space_write_multi (possibly) into PCI space.
> 	  The PIO part of bus_space_write_multi is fine.

I/O space, i hope you meant.



cgd