RE: [patch] acpi-20020725-2.4.19rc3 and incremental patch from acpi20020709

From: Grover, Andrew <hidden>
Date: 2002-08-13 18:06:09

(Sorry for replying to old threads - just got back from vacation)

Fixed (I think):

agrover  1.24 | #ifdef CONFIG_ACPI_PCI
agrover  1.24 | 	if (!acpi_pci_irq_init())
agrover  1.24 | 		pci_using_acpi_prt = 1;
agrover  1.24 | #endif
agrover  1.24 | 	if (!pci_using_acpi_prt) {
agrover  1.24 | 		pci_root_bus = pcibios_scan_root(0);
agrover  1.24 | 		pcibios_irq_init();
agrover  1.24 | 		pcibios_fixup_peer_bridges();
agrover  1.24 | 		pcibios_fixup_irqs();
agrover  1.24 | 	}
patch    1.19 | 	if (clustered_apic_mode && (numnodes > 1)) {
patch    1.19 | 		for (quad = 1; quad < numnodes; ++quad) {
patch    1.19 | 			printk("Scanning PCI bus %d for quad
%d\n", 
patch    1.19 | 				QUADLOCAL2BUS(quad,0),
quad);
patch    1.19 | 			pci_scan_bus(QUADLOCAL2BUS(quad,0), 
patch    1.19 | 				pci_root_ops, NULL);
patch    1.19 | 		}
patch    1.19 | 	}
torvalds 1.1  | 
torvalds 1.1  | 	pcibios_resource_survey();

Let me know if this won't work.

-- Andy
-----Original Message-----
From: Sérgio Monteiro Basto [mailto:sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org] 
Sent: Tuesday, July 30, 2002 8:16 PM
To: Grover, Andrew
Cc: acpi-devel
Subject: RE: [ACPI] [patch] acpi-20020725-2.4.19rc3 and 
incremental patch from acpi20020709


On Mon, 2002-07-29 at 14:33, Grover, Andrew wrote:
 
quoted
Once 2.4.19 is out, and assuming there aren't
any big regressions, I will submit it to Marcelo for 
2.4.20. It's a huge
quoted
patch. It's been nine months since the last 2.4 ACPI update.

Regards -- Andy
Ok 

I would like that you or someone that understand the of meter
see the file linux-2.4.19/arch/i386/kernel/pci-pc.c

is now like this:

#ifdef CONFIG_ACPI_PCI
    if (acpi_pci_irq_init() > 0)
        pci_using_acpi_prt = 1;
#endif

    printk(KERN_INFO "PCI: Probing PCI hardware\n");
    if (!pci_using_acpi_prt) {
        pci_root_bus = pci_scan_bus(0, pci_root_ops, NULL);
    }

    if (clustered_apic_mode && (numnodes > 1)) {
        for (quad = 1; quad < numnodes; ++quad) {
            printk("Scanning PCI bus %d for quad %d\n",
                QUADLOCAL2BUS(quad,0), quad);
            pci_scan_bus(QUADLOCAL2BUS(quad,0),
                pci_root_ops, NULL);
        }
    }

    if (!pci_using_acpi_prt) {
        pcibios_irq_init();
        pcibios_fixup_peer_bridges();
        pcibios_fixup_irqs();
    }


but I don't  know if should be:

#ifdef CONFIG_ACPI_PCI
    if (acpi_pci_irq_init() > 0)
        pci_using_acpi_prt = 1;
#endif

    printk(KERN_INFO "PCI: Probing PCI hardware\n");
    if (!pci_using_acpi_prt) {
        pci_root_bus = pci_scan_bus(0, pci_root_ops, NULL);


    if (clustered_apic_mode && (numnodes > 1)) {
        for (quad = 1; quad < numnodes; ++quad) {
            printk("Scanning PCI bus %d for quad %d\n",
                QUADLOCAL2BUS(quad,0), quad);
            pci_scan_bus(QUADLOCAL2BUS(quad,0),
                pci_root_ops, NULL);
        }
    }

        pcibios_irq_init();
        pcibios_fixup_peer_bridges();
        pcibios_fixup_irqs();
    }
    
At least in this case I have no idea. 
Sérgiomb

-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help