Subject: Re: Diaspora, politics, and MI
To: Scott Reynolds <scottr@Plexus.COM>
From: Michael Graff <explorer@flame.org>
List: current-users
Date: 09/18/1996 17:12:43
Scott Reynolds <scottr@Plexus.COM> writes:
> If it were up to me (which it's not, btw), I would support MD fixes in MD
> parts of the tree, to some limited extent.[*] I would be... unhappy... if
> i386-centric changes were made to /sys/dev/isa files. It's really pretty
> bogus if a change to existing files in the MI part of the tree brings in
> machine dependencies.
I quote from net/bpf_filter.c:
* @(#)bpf_filter.c 8.1 (Berkeley) 6/10/93
*/
#include <sys/param.h>
#include <sys/types.h>
#include <sys/time.h>
#ifdef sun
#include <netinet/in.h>
#endif
#if defined(sparc) || defined(mips) || defined(ibm032) || \
(defined(__NetBSD__) && !defined(UNALIGNED_ACCESS))
#define BPF_ALIGN
#endif
And I also quote from netns/spp_var.h:
#ifdef sun
short xnsCbug;
#define SSEQ_LT(a,b) ((xnsCbug = (short)((a)-(b))) < 0)
#define SSEQ_LEQ(a,b) ((xnsCbug = (short)((a)-(b))) <= 0)
#define SSEQ_GT(a,b) ((xnsCbug = (short)((a)-(b))) > 0)
#define SSEQ_GEQ(a,b) ((xnsCbug = (short)((a)-(b))) >= 0)
#else
#define SSEQ_LT(a,b) (((short)((a)-(b))) < 0)
#define SSEQ_LEQ(a,b) (((short)((a)-(b))) <= 0)
#define SSEQ_GT(a,b) (((short)((a)-(b))) > 0)
#define SSEQ_GEQ(a,b) (((short)((a)-(b))) >= 0)
#endif
Aren't these somewhat MD, and in MI code?
--Michael