summaryrefslogtreecommitdiff
path: root/include/asm-generic/param.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2011-10-13 04:33:55 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-10-19 19:59:45 (GMT)
commitfddf86fc4699a5fbabe6b8bda67613dbd57cbe47 (patch)
tree69022388e856ab212bd26c4cff8cd5df740f4d92 /include/asm-generic/param.h
parent3d153a7c8b23031df35e61377c0600a6c96a8b0b (diff)
downloadlinux-fsl-qoriq-fddf86fc4699a5fbabe6b8bda67613dbd57cbe47.tar.xz
phylib: Modify Vitesse RGMII skew settings
The Vitesse driver was using the RGMII_ID interface type to determine if skew was necessary. However, we want to move away from using that interface type, as it's really a property of the board's PHY connection. However, some boards depend on it, so we want to support it, while allowing new boards to use the more flexible "fixups" approach. To do this, we extract the code which adds skew into its own function, and call that function when RGMII_ID has been selected. Another side-effect of this change is that if your PHY has skew set already, it doesn't clear it. This way, the fixup code can modify the register without config_init then clearing it. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/param.h')
0 files changed, 0 insertions, 0 deletions