]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
[PATCH] bcm43xx: optimization of DMA bitfields
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 16 Aug 2006 16:05:16 +0000 (11:05 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Aug 2006 21:06:29 +0000 (17:06 -0400)
commit80b60fa8488e98ceaecb8f976abe79df50988037
treeaf64ba4e3589c8b98cb9673bb3aabdffb44c7c3e
parent9c974fb1a44dc8d09c16caa4dd174b0403ba585c
[PATCH] bcm43xx: optimization of DMA bitfields

Convert the bitfields in the bcm43xx DMA code to properly
aligned u8 booleans. These flags are accessed in the DMA
hotpath, so it's a good idea to waste a few bytes of memory
for the sake of speed by not requiring masking (and probably
shifting) of the bitfields.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_dma.h