Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bb63ab13515951f4d09b16c9e8bd6e50b0f20d1e
Commit:     bb63ab13515951f4d09b16c9e8bd6e50b0f20d1e
Parent:     173935f3619ae99fef0cea1dbe4de9c83d6c8e72
Author:     Linas Vepstas <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 19 14:00:34 2006 -0600
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed Dec 20 16:37:49 2006 +1100

    [POWERPC] Fix PCI device channel state initialization
    
    Initialize the pci device pci channel state. This is critical
    for having the pci_channel_offline() routine (in pci.h) to
    function correctly.
    
    Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/pci_64.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index a6b7692..73c59ec 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -360,6 +360,7 @@ struct pci_dev *of_create_pci_dev(struct device_node *node,
        DBG("    class: 0x%x\n", dev->class);
 
        dev->current_state = 4;         /* unknown power state */
+       dev->error_state = pci_channel_io_normal;
 
        if (!strcmp(type, "pci") || !strcmp(type, "pciex")) {
                /* a PCI-PCI bridge */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to