diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-29 11:31:22 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-29 11:31:22 +0000 |
commit | ffec9e70c2a081dd1b7484b634805011fe883d2b (patch) | |
tree | 09ddb91306c5b6b05981d12637e168e66d9d7b7e /sys/dev/ic | |
parent | 37f04882046aaf98ee98c90cfa4681c234b9c0ab (diff) |
Do not redefine ALIGNED_POINTER, it comes from <machine/param.h>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ne2000.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/ne2000.c b/sys/dev/ic/ne2000.c index 255b648dc05..33ad2aea13c 100644 --- a/sys/dev/ic/ne2000.c +++ b/sys/dev/ic/ne2000.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ne2000.c,v 1.16 2006/07/09 16:00:48 miod Exp $ */ +/* $OpenBSD: ne2000.c,v 1.17 2006/07/29 11:31:20 miod Exp $ */ /* $NetBSD: ne2000.c,v 1.12 1998/06/10 01:15:50 thorpej Exp $ */ /*- @@ -547,12 +547,6 @@ ne2000_write_mbuf(sc, m, buf) savebyte, 2); #endif leftover = 0; -#ifdef i386 -#define ALIGNED_POINTER(p,t) 1 -#endif -#ifdef alpha -#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) -#endif } else if (ALIGNED_POINTER(data, u_int16_t) == 0) { /* |