]> Git Repo - linux.git/commit
soc: ti: knav_dma: rename pad in struct knav_dma_desc to sw_data
authorKaricheri, Muralidharan <[email protected]>
Fri, 19 Feb 2016 17:58:43 +0000 (12:58 -0500)
committerDavid S. Miller <[email protected]>
Mon, 22 Feb 2016 03:03:15 +0000 (22:03 -0500)
commitb1cb86ae0e5951e9747ec7a5b33d1c1217791b75
tree8496ab703304e5f335f637f53f47528845026490
parent9ecfe875c4f311618cc918aded716017dcd2ddf1
soc: ti: knav_dma: rename pad in struct knav_dma_desc to sw_data

Rename the pad to sw_data as per description of this field in the hardware
spec(refer sprugr9 from www.ti.com). Latest version of the document is
at http://www.ti.com/lit/ug/sprugr9h/sprugr9h.pdf and section 3.1
Host Packet Descriptor describes this field.

Define and use a constant for the size of sw_data field similar to
other fields in the struct for desc and document the sw_data field
in the header. As the sw_data is not touched by hw, it's type can be
changed to u32.

Rename the helpers to match with the updated dma desc field sw_data.

Cc: Wingman Kwok <[email protected]>
Cc: Mugunthan V N <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Grygorii Strashko <[email protected]>
CC: David Laight <[email protected]>
Signed-off-by: Murali Karicheri <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/ti/netcp_core.c
include/linux/soc/ti/knav_dma.h
This page took 0.056622 seconds and 4 git commands to generate.