pci/pci bus not seen with kernel 2.4.10
I have problems with pci/pci bridge not seen with kernel 2.4.10 on ia64 (was OK on 2.4.9). This is due to modifications in ACPI driver:
the acpi_cf_associate_prt_to_bus() routine calls
acpi_os_read_pci_configuration() with width = 1, but theacpi_os_read_pci_configuration() routine expects width = 8 for 1 byte.
I patched and could get the pci/pci buses configured.
acpiconf.c Tue Oct 2 18:32:23 2001 renamed from acpiconf.c-orig Mon Oct 1 18:39:26 2001 +2 -2
@@ -364,7 +364,7 @@ pci_id.function = (u16)(devfn & 0xffff); status = acpi_os_read_pci_configuration(&pci_id, PCI_PRIMARY_BUS, - &bn, 1); + &bn, 8); if (ACPI_FAILURE(status)) { *retbusnum = rpb->rpb_busnum + 1; printk("Acpi cfg:%s pci read fail=0x%x. b:df:a=%x:%x:%x\n",
@@ -378,7 +378,7 @@ status = acpi_os_read_pci_configuration(&pci_id, PCI_SECONDARY_BUS, - &bn, 1); + &bn, 8); if (ACPI_FAILURE(status)) { *retbusnum = rpb->rpb_busnum + 1; printk("Acpi cfg:%s pci read fail=0x%x. b:df:a=%x:%x:%x\n",
Signature · 8 lines
Sincères salutations. _____________________________________________________________________ Xavier BRU BULL ISD/R&D/INTEL office: FREC B1-297 tel : +33 (0)4 76 29 77 45 http://www-frec.bull.fr fax : +33 (0)4 76 29 77 70 mailto:[email protected] addr: BULL, 1 rue de Provence, BP 208, 38432 Echirolles Cedex, FRANCE _____________________________________________________________________