~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to drivers/pci/pcie/aspm.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-07-11 13:31:31 UTC
  • mfrom: (14.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090711133131-omdhleccno39rayr
Tags: 2.6.29.6-1.1
New upstream kernel and RT patchset release

Show diffs side-by-side

added added

removed removed

Lines of Context:
638
638
        if (pdev->pcie_type != PCI_EXP_TYPE_ROOT_PORT &&
639
639
                pdev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM)
640
640
                return;
 
641
        /* VIA has a strange chipset, root port is under a bridge */
 
642
        if (pdev->pcie_type == PCI_EXP_TYPE_ROOT_PORT &&
 
643
                pdev->bus->self)
 
644
                return;
641
645
        down_read(&pci_bus_sem);
642
646
        if (list_empty(&pdev->subordinate->devices))
643
647
                goto out;