* [Linux-ia64] pci/pci bus not seen with kernel 2.4.10
@ 2001-10-02 16:24 Xavier Bru
0 siblings, 0 replies; only message in thread
From: Xavier Bru @ 2001-10-02 16:24 UTC (permalink / raw)
To: linux-ia64
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 the
acpi_os_read_pci_configuration() routine expects width = 8 for 1 byte.
I patched and could get the pci/pci buses configured.
--- acpiconf.c-orig Mon Oct 1 18:39:26 2001
+++ acpiconf.c Tue Oct 2 18:32:23 2001
@@ -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",
--
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:Xavier.Bru@bull.net
addr: BULL, 1 rue de Provence, BP 208, 38432 Echirolles Cedex, FRANCE
_____________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-10-02 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-02 16:24 [Linux-ia64] pci/pci bus not seen with kernel 2.4.10 Xavier Bru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox