summaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorDaniel Ritz <daniel.ritz@gmx.ch>2005-08-18 00:32:19 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-09 00:04:30 +0200
commit3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee (patch)
tree96a3e57f3b61c137bb8904a08779aa8ab41c2559 /drivers/pci/probe.c
parent[PATCH] PCI: Add pci_walk_bus function to PCI core (nonrecursive) (diff)
downloadlinux-3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee.tar.xz
linux-3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee.zip
[PATCH] PCI: Support PCM PM CAP version 3
- support PCI PM CAP version 3 (as defined in PCI PM Interface Spec v1.2) - pci/probe.c sets the PM state initially to 4 which is D3cold. add a PCI_UNKNOWN - minor cleanups Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 4be1b887ab62..b9c9b03919d4 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -584,7 +584,7 @@ static int pci_setup_device(struct pci_dev * dev)
dev->vendor, dev->device, class, dev->hdr_type);
/* "Unknown power state" */
- dev->current_state = 4;
+ dev->current_state = PCI_UNKNOWN;
/* Early fixups, before probing the BARs */
pci_fixup_device(pci_fixup_early, dev);