|
@@ -1378,9 +1378,11 @@ static int gfar_probe(struct platform_device *ofdev)
|
|
|
|
|
|
gfar_init_addr_hash_table(priv);
|
|
|
|
|
|
- /* Insert receive time stamps into padding alignment bytes */
|
|
|
+ /* Insert receive time stamps into padding alignment bytes, and
|
|
|
+ * plus 2 bytes padding to ensure the cpu alignment.
|
|
|
+ */
|
|
|
if (priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)
|
|
|
- priv->padding = 8;
|
|
|
+ priv->padding = 8 + DEFAULT_PADDING;
|
|
|
|
|
|
if (dev->features & NETIF_F_IP_CSUM ||
|
|
|
priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)
|