summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorDai Haruki2008-12-17 00:34:50 +0100
committerDavid S. Miller2008-12-17 00:34:50 +0100
commit5a5efed4817ef931f648b118aeb9222e53122d2b (patch)
tree592f3dbe3bf47035e8738b1c4bbe48fc3be973fc /drivers/net/phy
parentgianfar: Add macros for stepping through BDs (diff)
downloadkernel-qcow2-linux-5a5efed4817ef931f648b118aeb9222e53122d2b.tar.gz
kernel-qcow2-linux-5a5efed4817ef931f648b118aeb9222e53122d2b.tar.xz
kernel-qcow2-linux-5a5efed4817ef931f648b118aeb9222e53122d2b.zip
gianfar: Make all BD status writes 32-bit
Whenever we want to update the status field in a BD, we usually want to update the length field, too. By combining them into one 32-bit field, we reduce the number of stores to memory shared with the controller, and we eliminate the need for order-enforcement, as the length and "READY" bit are now updated atomically at the same time. Signed-off-by: Dai Haruki <Dai.Haruki@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions