arch/sh: pcie-sh7786: do not disable MAC data scrambling
PATCH 5/5 arch/sh: pcie-sh7786: do not disable MAC data scrambling
The code enables MAC data scrambling, and then later disables it. Disabling MAC data is mostly a debugging feature, data scrambling should normally be enabled.
Signed-off-by Thomas Petazzoni <[email protected]>
--- arch/sh/drivers/pci/pcie-sh7786.c | 5 ----- 1 file changed, 5 deletions(-)
arch/sh/drivers/pci/pcie-sh7786.c +0 -5
@@ -427,11 +427,6 @@ static int __init pcie_init(struct sh7786_pcie_port *port) data |=PCIEDLINTENR_DLL_ACT_ENABLE ;pci_write_reg (chan, data,SH4A_PCIEDLINTENR ); -/* Disable MAC data scrambling. */ - data =pci_read_reg (chan,SH4A_PCIEMACCTLR ); - data |=PCIEMACCTLR_SCR_DIS | (0xff <<16 ); -pci_write_reg (chan, data,SH4A_PCIEMACCTLR ); -/* * This will timeout if we don't have a link, but we permit the * port to register anyways in order to support hotplug on future
Signature · 1 line
2.14.3