]> git.baikalelectronics.ru Git - kernel.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)
commitda219db1b047e0da0b4bc8de783d0bb02a0d53cf
tree2a3cc4287755749cc5e4e6a7fe837ab69b6a5703
parent1a90dfd8187c4875ea8da7af291d523b4348920e
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