diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-07-29 17:21:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-31 03:51:08 +0400 |
commit | 6083ed448b812e7b318820d7ec83c2a0e250dd57 (patch) | |
tree | 3c28e5f1546398b1da3a6b2a2fc9e99e3d261fb5 /drivers/idle | |
parent | ffd756b3174e496cf6f3c5458c434e31d2cd48b0 (diff) | |
download | linux-6083ed448b812e7b318820d7ec83c2a0e250dd57.tar.xz |
net: mvneta: move the RX and TX desc macros outside of the structs
The macros used for the various fields of the RX and TX descriptions
are currently declared next to those fields within the structure
definitions of the RX and TX descriptors.
However, in order to support big endian, we'll have to use the "swap
descriptors" features of the hardware, which swaps every byte within
each 64 bits word of the descriptors. This requires a separate
definition of the RX and TX descriptor structures for little and big
endian, as is done in the mv643xx_eth. Those macros can therefore no
longer be defined inside those structures.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions