PCI: rcar: Use correct initial HW settings
authorPhil Edworthy <phil.edworthy@renesas.com>
Mon, 30 Jun 2014 07:54:22 +0000 (08:54 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:25 +0000 (11:15 +0100)
commit8e96005fdc19fbc5c26f43ac72784295249389ac
treea17ff7c1e8b749a38cf07e85939fa400c6b433b5
parent29501b599b1dde90b8e895d2a8177e61504c7bf7
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>
(cherry picked from commit 2c3fd4c935880d756cb57f4bcdb35bb4b8348ec8)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c