Claudiu Manoil 83bfc3c476 gianfar: Make MAC addr setup endian safe, cleanup
Fix the 32-bit memory access that is not endian safe,
i.e. not giving the desired byte layout for a LE CPU:
tempval = *((u32 *) (tmpbuf + 4)), where 'char tmpbuf[]'.

Get rid of rendundant local vars (tmpbuf[] and idx) and
forced casts.  Cleanup comments.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-09 01:40:37 -04:00
..
2014-10-05 21:39:40 -04:00
2014-10-08 16:08:04 -04:00
2014-09-22 15:01:09 -04:00
2014-05-13 17:43:20 -04:00
2014-10-08 16:03:32 -04:00
2014-05-13 17:43:20 -04:00
2014-10-08 15:58:45 -04:00
2014-09-30 01:30:43 -04:00
2014-08-02 16:40:52 -07:00