PCI: rcar: Use correct initial HW settings
authorPhil Edworthy <phil.edworthy@renesas.com>
Mon, 30 Jun 2014 07:54:22 +0000 (08:54 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 5 Jul 2014 17:58:12 +0000 (11:58 -0600)
commit2c3fd4c935880d756cb57f4bcdb35bb4b8348ec8
tree66fa7788adb1b8e3b78c7a2e24669cc1c1c91366
parent8eb12c3b420fb5243ce9b4a8878f3b88a3c91e33
PCI: rcar: Use correct initial HW settings

Although the R-Car PCIe driver works as it is, there are a number of
incorrect settings that this patch corrects. It corrects:
 - enabling the PCI Express Extended Cap ID.
 - setting Data Link Layer Link Active Reporting Capable.
 - terminating list of capabilities.

It also removes enabling the MAC data scrambling as this is the default HW
setting, and removes incorrect code to enable slave bus mastering as this
is done by the PCI core.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c