diff options
author | Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> | 2011-06-16 21:13:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-01 18:33:10 -0400 |
commit | 20ae6d0b307963416db0e8433602e5d5c95e942b (patch) | |
tree | 72d4b0ebca3ce5a0689f7dc073cfc6ff8f169891 | |
parent | e7328ae1848966181a7ac47e8ae6cddbd2cf55f3 (diff) |
pch_phub: Fix register miss-setting issue
Register "interrupt delay value" is for GbE which is connected to Bus-m of PCIe.
However currently, the value is set for Bus-n.
As a result, the value is not set correctly.
This patch moves setting the value processing of Bus-n to Bus-m.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/misc/pch_phub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c index 5fe79df44838..d06cf2f47742 100644 --- a/drivers/misc/pch_phub.c +++ b/drivers/misc/pch_phub.c | |||
@@ -732,6 +732,8 @@ static int __devinit pch_phub_probe(struct pci_dev *pdev, | |||
732 | * Device8(GbE) | 732 | * Device8(GbE) |
733 | */ | 733 | */ |
734 | iowrite32(0x000a0000, chip->pch_phub_base_address + 0x14); | 734 | iowrite32(0x000a0000, chip->pch_phub_base_address + 0x14); |
735 | /* set the interrupt delay value */ | ||
736 | iowrite32(0x25, chip->pch_phub_base_address + 0x140); | ||
735 | chip->pch_opt_rom_start_address =\ | 737 | chip->pch_opt_rom_start_address =\ |
736 | PCH_PHUB_ROM_START_ADDR_ML7223; | 738 | PCH_PHUB_ROM_START_ADDR_ML7223; |
737 | chip->pch_mac_start_address = PCH_PHUB_MAC_START_ADDR_ML7223; | 739 | chip->pch_mac_start_address = PCH_PHUB_MAC_START_ADDR_ML7223; |
@@ -749,8 +751,6 @@ static int __devinit pch_phub_probe(struct pci_dev *pdev, | |||
749 | * Device6(SATA 2):f | 751 | * Device6(SATA 2):f |
750 | */ | 752 | */ |
751 | iowrite32(0x0000ffa0, chip->pch_phub_base_address + 0x14); | 753 | iowrite32(0x0000ffa0, chip->pch_phub_base_address + 0x14); |
752 | /* set the interrupt delay value */ | ||
753 | iowrite32(0x25, chip->pch_phub_base_address + 0x140); | ||
754 | chip->pch_opt_rom_start_address =\ | 754 | chip->pch_opt_rom_start_address =\ |
755 | PCH_PHUB_ROM_START_ADDR_ML7223; | 755 | PCH_PHUB_ROM_START_ADDR_ML7223; |
756 | chip->pch_mac_start_address = PCH_PHUB_MAC_START_ADDR_ML7223; | 756 | chip->pch_mac_start_address = PCH_PHUB_MAC_START_ADDR_ML7223; |