diff options
author | dfr <dfr@FreeBSD.org> | 2001-10-05 19:04:23 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-10-05 19:04:23 +0000 |
commit | 0eec0bfe7bba52169a100e2894ea67eac99fe031 (patch) | |
tree | 70e2d4102500d99a5cb8a3b9d09bc380c1f8359e /sys/net | |
parent | 3908c08eda80b3791a2bd06e8517522098471b5e (diff) | |
download | FreeBSD-src-0eec0bfe7bba52169a100e2894ea67eac99fe031.zip FreeBSD-src-0eec0bfe7bba52169a100e2894ea67eac99fe031.tar.gz |
Add ia64 to the list of machines which don't do unaligned reads.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bpf_filter.c | 2 | ||||
-rw-r--r-- | sys/net/if_loop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c index 4f9bcf7..0f0a6ba 100644 --- a/sys/net/bpf_filter.c +++ b/sys/net/bpf_filter.c @@ -46,7 +46,7 @@ #include <netinet/in.h> #endif -#if defined(sparc) || defined(mips) || defined(ibm032) || defined(__alpha__) +#if defined(sparc) || defined(mips) || defined(ibm032) || defined(__alpha__) || defined(__ia64__) #define BPF_ALIGN #endif diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 3d8a1c2..c17a7be 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -322,7 +322,7 @@ if_simloop(ifp, m, af, hlen) /* Strip away media header */ if (hlen > 0) { m_adj(m, hlen); -#ifdef __alpha__ +#if defined(__alpha__) || defined(__ia64__) /* The alpha doesn't like unaligned data. * We move data down in the first mbuf */ if (mtod(m, vm_offset_t) & 3) { |