Guest User

0905-increase-dma-burst-size.patch

a guest
Jan 30th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.50 KB | None | 0 0
  1. --- a/arch/mips/lantiq/xway/dma.c   2019-01-26 09:37:07.000000000 +0100
  2. +++ b/arch/mips/lantiq/xway/dma.c   2019-01-30 23:15:08.149803399 +0100
  3. @@ -194,6 +194,11 @@
  4.     ltq_dma_w32(p, LTQ_DMA_PS);
  5.     switch (p) {
  6.     case DMA_PORT_ETOP:
  7. +
  8. +       //TODO test without when ethernet driver is stable
  9. +       ltq_dma_w32_mask(0x3c, (DMA_2W_BURST << 4) | (DMA_2W_BURST << 2),
  10. +           LTQ_DMA_PCTRL);
  11. +
  12.         /*
  13.          * Tell the DMA engine to swap the endianness of data frames and
  14.          * drop packets if the channel arbitration fails.
Add Comment
Please, Sign In to add comment