summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_nge.c6
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;