mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
fs_enet: fix freescale FCC ethernet dp buffer alignment
The RIPTR and TIPTR (receive/transmit internal temporary data pointer), used by microcode as a temporary buffer for data, must be 32-byte aligned according to the RM for MPC8247. Tested on mgcoge. Signed-off-by: Clive Stubbings <[email protected]> Signed-off-by: Holger Brunck <[email protected]> cc: Pantelis Antoniou <[email protected]> cc: Vitaly Bordug <[email protected]> cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
82362ccbf2
commit
cab758ef30
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ static int do_pd_setup(struct fs_enet_private *fep)
|
|||
goto out_ep;
|
||||
|
||||
fep->fcc.mem = (void __iomem *)cpm2_immr;
|
||||
fpi->dpram_offset = cpm_dpalloc(128, 8);
|
||||
fpi->dpram_offset = cpm_dpalloc(128, 32);
|
||||
if (IS_ERR_VALUE(fpi->dpram_offset)) {
|
||||
ret = fpi->dpram_offset;
|
||||
goto out_fcccp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue