projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d9c0a7
)
PCI: Use ICH6_GPIO_EN in ich6_lpc_acpi_gpio
author
Jean Delvare
<khali@linux-fr.org>
Fri, 15 Apr 2011 08:24:07 +0000
(10:24 +0200)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 10 May 2011 22:43:34 +0000
(15:43 -0700)
We were just lucky that ICH4_GPIO_EN and ICH6_GPIO_EN happen to have
the same value.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/quirks.c
patch
|
blob
|
history
diff --git
a/drivers/pci/quirks.c
b/drivers/pci/quirks.c
index 227ec4f73f1137c9ac89746710e30a779c8ab069..4fc1b0daedafae035bf4c402548366b2ae4f97bc 100644
(file)
--- a/
drivers/pci/quirks.c
+++ b/
drivers/pci/quirks.c
@@
-606,7
+606,7
@@
static void __devinit ich6_lpc_acpi_gpio(struct pci_dev *dev)
}
pci_read_config_byte(dev, ICH6_GPIO_CNTL, &enable);
- if (enable & ICH
4
_GPIO_EN) {
+ if (enable & ICH
6
_GPIO_EN) {
pci_read_config_dword(dev, ICH6_GPIOBASE, ®ion);
region &= PCI_BASE_ADDRESS_IO_MASK;
if (region >= PCIBIOS_MIN_IO)