aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/de/if_de.c
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2009-09-24 16:57:35 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2009-09-24 16:57:35 +0000
commit839dd22afd01551d3e480484a0c0bd45008cecb3 (patch)
tree8c98689e7eda2abdb64b2b1d206374dbcf28a6d2 /sys/dev/de/if_de.c
parent08bfbfaa08742f1410b3ae0c965cd89ef417ede9 (diff)
Notes
Diffstat (limited to 'sys/dev/de/if_de.c')
-rw-r--r--sys/dev/de/if_de.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 2acf1a8a1c93..a70b219e59a5 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -3488,7 +3488,7 @@ tulip_rx_intr(tulip_softc_t * const sc)
struct mbuf *m0;
KASSERT(ms != NULL, ("no packet to accept"));
-#if defined(TULIP_COPY_RXDATA)
+#ifndef __NO_STRICT_ALIGNMENT
/*
* Copy the data into a new mbuf that is properly aligned. If
* we fail to allocate a new mbuf, then drop the packet. We will
@@ -3527,7 +3527,7 @@ tulip_rx_intr(tulip_softc_t * const sc)
*/
ms = m_getcl(M_DONTWAIT, MT_DATA, M_PKTHDR);
-#if defined(TULIP_COPY_RXDATA)
+#ifndef __NO_STRICT_ALIGNMENT
skip_input:
#endif
if (ms == NULL) {