From: Gabor Juhos Date: Wed, 14 Mar 2012 09:36:04 +0000 (+0100) Subject: MIPS: ath79: fix broken ar724x_pci_{read,write} functions X-Git-Tag: v3.5-rc1~47^2^5~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64adb6bb62bee11ad04c2f9c3c797799e329c351;p=pandora-kernel.git MIPS: ath79: fix broken ar724x_pci_{read,write} functions The current ar724x_pci_{read,write} functions are broken. Due to that, pci_read_config_byte returns with bogus values, and pci_write_config_{byte,word} unconditionally clears the accessed PCI configuration registers instead of changing the value of them. The patch fixes the broken functions, thus the PCI configuration space can be accessed correctly. Signed-off-by: Gabor Juhos Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3493/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed