diff options
author | Marian-Cristian Rotariu <marian.rotariu@freescale.com> | 2015-03-10 12:47:59 (GMT) |
---|---|---|
committer | Madalin Bucur <madalin.bucur@freescale.com> | 2015-03-11 16:08:09 (GMT) |
commit | 8f8359455d570bcd41a00c04a11cab4d4d61760b (patch) | |
tree | 099da0b6c418eba1b282326e5032e0a34e11883f /drivers | |
parent | 40d4b32868085de08a11b7d664d05e8581c05b2e (diff) | |
download | linux-fsl-qoriq-8f8359455d570bcd41a00c04a11cab4d4d61760b.tar.xz |
dpaa_eth: fix the address settings of a FD
There is no need to set high and low addresses separately.
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Change-Id: I584d11704d7d0f790ccbab7b35c7ec2ba7b1402a
Reviewed-on: http://git.am.freescale.net:8181/32484
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c index 41d068f3..2e541a8 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c @@ -724,8 +724,8 @@ static int __hot skb_to_contig_fd(struct dpa_priv_s *priv, netdev_err(net_dev, "dma_map_single() failed\n"); return -EINVAL; } - fd->addr_hi = (uint8_t)upper_32_bits(addr); - fd->addr_lo = lower_32_bits(addr); + fd->addr = addr; + return 0; } |