commit | 13e9ab11430c4bdc4b6bb97e3d3821ebdc043712 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Sep 01 12:50:28 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Sep 24 18:54:42 2008 -0400 |
tree | 37f7eb6aa4ae941cde2c4fdf7f0040c2ea1ab7c2 | |
parent | 951f46a1a2c891479565f2c2c950a951f65fd59f [diff] |
sfc: Use CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS where appropriate For some buffers we use a starting offset of either NET_IP_ALIGN or 0 depending on whether we believe the architecture supports efficient access to unaligned words. There is now a config macro specifying whether this is the case, so check that rather than checking for specific architectures. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>