pci_root.c (6ad95513d60096b569e4e4bd721420f03b57e4d4) pci_root.c (57283776b2b821ba4d592f61cad04d0293412740)
1/*
2 * pci_root.c - ACPI PCI Root Bridge Driver ($Revision: 40 $)
3 *
4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
6 *
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 *

--- 484 unchanged lines hidden (view full) ---

493
494 /*
495 * Scan the Root Bridge
496 * --------------------
497 * Must do this prior to any attempt to bind the root device, as the
498 * PCI namespace does not get created until this call is made (and
499 * thus the root bridge's pci_dev does not exist).
500 */
1/*
2 * pci_root.c - ACPI PCI Root Bridge Driver ($Revision: 40 $)
3 *
4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
6 *
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 *

--- 484 unchanged lines hidden (view full) ---

493
494 /*
495 * Scan the Root Bridge
496 * --------------------
497 * Must do this prior to any attempt to bind the root device, as the
498 * PCI namespace does not get created until this call is made (and
499 * thus the root bridge's pci_dev does not exist).
500 */
501 root->bus = pci_acpi_scan_root(device, segment, root->secondary.start);
501 root->bus = pci_acpi_scan_root(root);
502 if (!root->bus) {
503 printk(KERN_ERR PREFIX
504 "Bus %04x:%02x not present in PCI namespace\n",
505 root->segment, (unsigned int)root->secondary.start);
506 result = -ENODEV;
507 goto end;
508 }
509

--- 80 unchanged lines hidden ---
502 if (!root->bus) {
503 printk(KERN_ERR PREFIX
504 "Bus %04x:%02x not present in PCI namespace\n",
505 root->segment, (unsigned int)root->secondary.start);
506 result = -ENODEV;
507 goto end;
508 }
509

--- 80 unchanged lines hidden ---