]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
solos-pci: ensure all TX packets are aligned to 4 bytes
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 Dec 2012 11:01:21 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 22:53:53 +0000 (14:53 -0800)
commit152a2a8b5e1d4cbe91a7c66f1028db15164a3766
tree2a3cc4287755749cc5e4e6a7fe837ab69b6a5703
parent13af816469db3449c072afbae6c4c1bd9ccecccb
solos-pci: ensure all TX packets are aligned to 4 bytes

The FPGA can't handled unaligned DMA (yet). So copy into an aligned buffer,
if skb->data isn't suitably aligned.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c