Thread (11 messages) 11 messages, 5 authors, 2008-03-25

Re: [PATCH/RFC] introduce ARCH_CAN_UNALIGNED_ACCESS Kconfig symbol

From: Will Newton <hidden>
Date: 2008-03-20 14:39:19
Also in: linux-wireless, lkml

On Thu, Mar 20, 2008 at 2:34 PM, Johannes Berg
[off-list ref] wrote:
 +For some ethernet hardware that cannot DMA to unaligned addresses like
 +4*n+2 or non-ethernet hardware, this can be a problem, and it is then
 +required to copy the incoming frame into an aligned buffer. Because this is
 +unnecessary on architectures that can do unaligned accesses, the code can be
 +made depend on CONFIG_ARCH_CAN_UNALIGNED_ACCESS like so:
 +
 +#ifdef CONFIG_ARCH_CAN_UNALIGNED_ACCESS
 +       skb = copy skb
 +#else
 +       skb = original skb
 +#endif
Is this logic reversed?
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help