From: Pavel Roskin <proski@gnu.org>
To: linux <linux-kernel@vger.kernel.org>
Cc: Andi Kleen <ak@suse.de>
Subject: Compile errors on i386 with CONFIG_PCI_GOMMCONFIG
Date: Mon, 19 Dec 2005 23:43:30 -0500 [thread overview]
Message-ID: <1135053810.3815.9.camel@dv> (raw)
Hello!
If I set "PCI access mode" in the configuration to "MMConfig", the build
fails:
arch/i386/pci/built-in.o(.text+0x3a2): In function `pci_mmcfg_read':
mmconfig.c: undefined reference to `pci_conf1_read'
arch/i386/pci/built-in.o(.text+0x4b6): In function `pci_mmcfg_write':
mmconfig.c: undefined reference to `pci_conf1_write'
arch/i386/pci/built-in.o(.init.text+0x38c): In function
`unreachable_devices':
mmconfig.c: undefined reference to `pci_conf1_read'
make[2]: *** [.tmp_vmlinux1] Error 1
It happens with current Linux from git when compiled for i386.
Missing functions are in arch/i386/pci/direct.c, which is enabled by
selecting "Direct" or "Any" as PCI access mode.
I believe the most straight fix would be to move shared functions to a
separate file (e.g. conf1.c) under arch/i386/pci/ that would be compiled
if either CONFIG_PCI_MMCONFIG or CONFIG_PCI_DIRECT is set.
--
Regards,
Pavel Roskin
reply other threads:[~2005-12-20 4:43 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=1135053810.3815.9.camel@dv \
--to=proski@gnu.org \
--cc=ak@suse.de \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox