Thread (1 message) flat view 1 message, 1 author, 2014-06-20

[PATCH v0 1/3] ata: Fix the watermark threshold for the APM X-Gene SATA host controller driver.

From: Sergei Shtylyov <hidden>
Date: 2014-06-20 15:24:08
Also in: linux-devicetree, linux-ide, linux-scsi

Hello.

On 06/20/2014 12:32 PM, Suman Tripathi wrote:
This patch fixes the watermark threshold of the receive FIFO for the
APM X-Gene SATA host controller driver.
Signed-off-by: Loc Ho <redacted>
Signed-off-by: Suman Tripathi <redacted>
---
  drivers/ata/ahci_xgene.c | 8 ++++++++
  1 file changed, 8 insertions(+)
quoted hunk
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c
index 77c89bf..5f0f750 100644
--- a/drivers/ata/ahci_xgene.c
+++ b/drivers/ata/ahci_xgene.c
@@ -68,6 +68,10 @@
  #define PORTAXICFG_OUTTRANS_SET(dst, src) \
  		(((dst) & ~0x00f00000) | (((u32)(src) << 0x14) & 0x00f00000))

+#define PORTRANSCFG				0xc8
+#define PORTRANSCFG_RXWM_SET(dst, src)		\
+		(((dst) & ~0x0000007f) | (((u32) (src) << 0) & 0x0000007f))
    Please renmove space after (u32) for consistency with the above macro. And 
why shift by 0 bits?

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help