path: root/drivers/net/ethernet/davicom
diff options
authorKaricheri, Muralidharan <m-karicheri2@ti.com>2016-02-19 12:58:44 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-21 22:03:15 -0500
commit0632448134d0ac1450a19d26f90948fde3b558ad (patch)
tree38e962efb53a918067589c620028491204b94490 /drivers/net/ethernet/davicom
parentsoc: ti: knav_dma: rename pad in struct knav_dma_desc to sw_data (diff)
net: netcp: rework the code for get/set sw_data in dma desc
SW data field in descriptor can be used by software to hold private data for the driver. As there are 4 words available for this purpose, use separate macros to place it or retrieve the same to/from descriptors. Also do type cast of data types accordingly. Cc: Wingman Kwok <w-kwok2@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> CC: Arnd Bergmann <arnd@arndb.de> CC: Grygorii Strashko <grygorii.strashko@ti.com> CC: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
0 files changed, 0 insertions, 0 deletions