From: Xavier Bru <Xavier.Bru@bull.net>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] pci/pci bus not seen with kernel 2.4.10
Date: Tue, 02 Oct 2001 16:24:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590698805292@msgid-missing> (raw)
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
_____________________________________________________________________
reply other threads:[~2001-10-02 16:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590698805292@msgid-missing \
--to=xavier.bru@bull.net \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.