Files
u-boot/drivers/net
Claudiu Manoil 9c9141fd04 net: tsec: Use portable types and accessors for BDs
Currently, the buffer descriptor (BD) fields cannot be
correctly accessed by a little endian processor.  This
patch fixes the issue by making the access of BDs to be
portable among different cpu architectures.

Use portable data types for the Rx/Tx buffer descriptor
fields.  Use portable I/O accessors to insure that the
big endian BDs are correctly accessed by little endian
cpus too, and to insure proper sync with the H/W.
Removed the redundant RTXBD "volatile" type, as proper
synchronization around BD data accesses is provided by
the I/O accessors now.
The "sparse" tool was also used to verify the correctness
of these changes.

Cc: Scott Wood <scottwood@freescale.com>

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
2013-11-22 17:03:16 -06:00
..
2013-11-22 16:50:54 -06:00
2011-01-09 18:06:50 +01:00
2010-07-12 00:14:29 -07:00
2012-05-22 10:18:15 -05:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2008-05-21 00:14:08 +02:00
2013-11-11 14:46:24 -05:00
2013-11-22 16:50:54 -06:00
2013-11-22 16:50:54 -06:00
2012-11-04 11:00:36 -07:00