diff options
author | Gary Hade <garyhade@us.ibm.com> | 2007-10-08 19:24:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 18:03:18 -0400 |
commit | 11949255d9433ea6c0908b7390ec4faecd1d4cf0 (patch) | |
tree | bfbec17f06906f9fbbc65263af010b4cb170c80a /arch/x86/pci/i386.c | |
parent | 62f420f828249f686aaae949ac3439d1304a759a (diff) |
PCI: modify PCI bridge control ISA flag for clarity
Modify PCI Bridge Control ISA flag for clarity
This patch changes PCI_BRIDGE_CTL_NO_ISA to PCI_BRIDGE_CTL_ISA
and modifies it's clarifying comment and locations where used.
The change reduces the chance of future confusion since it makes
the set/unset meaning of the bit the same in both the bridge
control register and bridge_ctl field of the pci_bus struct.
Signed-off-by: Gary Hade <garyhade@us.ibm.com>
Acked-by: Linas Vepstas <linas@austin.ibm.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86/pci/i386.c')
-rw-r--r-- | arch/x86/pci/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386.c index 055187bc255a..42ba0e2da1a0 100644 --- a/arch/x86/pci/i386.c +++ b/arch/x86/pci/i386.c | |||
@@ -37,7 +37,7 @@ static int | |||
37 | skip_isa_ioresource_align(struct pci_dev *dev) { | 37 | skip_isa_ioresource_align(struct pci_dev *dev) { |
38 | 38 | ||
39 | if ((pci_probe & PCI_CAN_SKIP_ISA_ALIGN) && | 39 | if ((pci_probe & PCI_CAN_SKIP_ISA_ALIGN) && |
40 | (dev->bus->bridge_ctl & PCI_BRIDGE_CTL_NO_ISA)) | 40 | !(dev->bus->bridge_ctl & PCI_BRIDGE_CTL_ISA)) |
41 | return 1; | 41 | return 1; |
42 | return 0; | 42 | return 0; |
43 | } | 43 | } |