Karicheri, Muralidharan 0632448134 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>
2016-02-21 22:03:15 -05:00
..
2016-02-16 16:06:13 -05:00
2016-01-07 14:31:26 -05:00
2016-02-18 14:58:47 -05:00
2015-09-29 21:11:13 -07:00
2016-02-16 15:26:30 -05:00
2016-01-25 10:51:52 -08:00
2015-09-08 22:44:42 -07:00
2015-11-20 14:48:27 -05:00
2016-01-29 20:33:38 -08:00
2016-01-10 22:50:14 -05:00
2016-02-13 05:57:39 -05:00
2015-06-29 12:52:06 -07:00
2016-01-04 16:07:16 -05:00
2016-01-07 14:31:26 -05:00
2015-07-08 16:04:06 -07:00