
24 May
2013
24 May
'13
3:47 p.m.
On Tue, May 21, 2013 at 05:44:34PM -0500, Rob Herring wrote:
From: Rob Herring rob.herring@calxeda.com
Some Intel SSDs can send a COMINIT after the initial COMRESET. This causes the link to go down and we need to re-initialize the link.
Signed-off-by: Rob Herring rob.herring@calxeda.com
[snip]
tmp = readl(port_mmio + PORT_SCR_STAT) & 0xf;
if (tmp == 0x1)
}break; j++;
tmp = readl(port_mmio + PORT_SCR_STAT) & 0xf;
if (tmp == 0x1) {
debug("SATA link %d down (COMINIT received), retrying...\n", i);
i--;
continue;
}
0xf and 0x1 are already defined to some MASK and command name I would hope, if not please define. Thanks!
--
Tom