diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-11-04 17:06:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-05 21:50:12 -0500 |
commit | aa96bd3c9fda52b9f57128798b49d662e5d4659c (patch) | |
tree | ee69824197d8c5d7313b620177690b49f32dc310 | |
parent | a9d41981e95651143125352f0233138efc17378a (diff) |
amd-xgbe: Use the u32 data type for descriptors
The Tx and Rx descriptors are unsigned 32 bit values. Use the u32
type, rather than unsigned int, to map these descriptors.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe.h b/drivers/net/ethernet/amd/xgbe/xgbe.h index 0dc15d7c6ae1..19f1d9007a6d 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe.h +++ b/drivers/net/ethernet/amd/xgbe/xgbe.h | |||
@@ -234,10 +234,10 @@ struct xgbe_packet_data { | |||
234 | 234 | ||
235 | /* Common Rx and Tx descriptor mapping */ | 235 | /* Common Rx and Tx descriptor mapping */ |
236 | struct xgbe_ring_desc { | 236 | struct xgbe_ring_desc { |
237 | unsigned int desc0; | 237 | u32 desc0; |
238 | unsigned int desc1; | 238 | u32 desc1; |
239 | unsigned int desc2; | 239 | u32 desc2; |
240 | unsigned int desc3; | 240 | u32 desc3; |
241 | }; | 241 | }; |
242 | 242 | ||
243 | /* Structure used to hold information related to the descriptor | 243 | /* Structure used to hold information related to the descriptor |