diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-09-22 17:53:44 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-09-22 17:53:44 +0000 |
commit | 872d12744323c5a86ab10f02bce61a1b1f76ceee (patch) | |
tree | 0a8e509f638e5bbbe4ea8d2ae72c9f9a5a1f8b87 /sys/dev | |
parent | 20184b9947874b6c1e5d1e3260fe10bab3f846ef (diff) |
use #ifndef __STRICT_ALIGNMENT instead of #ifdef __i386.
recommended by jason
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_nge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index 8007ba0c3c2..28f202dbd11 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.22 2002/09/21 15:29:46 nate Exp $ */ +/* $OpenBSD: if_nge.c,v 1.23 2002/09/22 17:53:43 nate Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1340,7 +1340,7 @@ nge_rxeof(sc) * only gigE chip I know of with alignment constraints * on receive buffers. RX buffers must be 64-bit aligned. */ -#ifdef __i386__ +#ifndef __STRICT_ALIGNMENT /* * By popular demand, ignore the alignment problems * on the Intel x86 platform. The performance hit @@ -1363,7 +1363,7 @@ nge_rxeof(sc) } m_adj(m0, ETHER_ALIGN); m = m0; -#ifdef __i386__ +#ifndef __STRICT_ALIGNMENT } else { m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = total_len; |