From: Greg KH <greg@kroah.com>
To: "Lee, Jung-Ik" <jung-ik.lee@intel.com>
Cc: "'linux-kernel'" <linux-kernel@vger.kernel.org>
Subject: Re: RFC: bare pci configuration access functions ?
Date: Mon, 4 Nov 2002 13:30:02 -0800 [thread overview]
Message-ID: <20021104213001.GA8334@kroah.com> (raw)
In-Reply-To: <72B3FD82E303D611BD0100508BB29735046DFF75@orsmsx102.jf.intel.com>
On Mon, Nov 04, 2002 at 12:17:45PM -0800, Lee, Jung-Ik wrote:
> Hi Greg,
>
> > What's wrong with the _existing_ pci_config_read() and
> > pci_config_write() function pointers that ia64 and i386 have?
> > Can't you
> > just look into if the other archs can set them to the proper
> > function in
> > their pci init functions too?
>
> Other architectures' PCI config access methods vary and require their own
> address mappings, etc.
Ah, so exporting those types of functions is not pratical? Oh well...
> There could be two ways to achieve bare pci config accesses for all
> architectures.
<snip>
Wait, again I'm confused. Let's go over the main points here:
- for 2.5 everyone uses the pci_bus_read_config* and
pci_bus_write_config* functions and is happy. Well ACPI isn't happy,
but the code there currently works, so let's leave it at that.
- for 2.4 we don't have the pci_bus* functions, so we need to do
something. I originally wanted to look into exporting the
pci_config_* function pointers, but you said that doesn't look
possible based on the different arch specific implementation.
- Because of this, you just proposed a patch, yet your patch uses the
pci_bus_* functions which are not present on 2.4. If they were,
everyone would be happy again, and not need such a patch, right?
Confused,
greg k-h
next prev parent reply other threads:[~2002-11-04 21:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-04 20:17 RFC: bare pci configuration access functions ? Lee, Jung-Ik
2002-11-04 21:30 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-04 22:30 Lee, Jung-Ik
2002-11-01 4:52 Lee, Jung-Ik
2002-11-01 5:38 ` Greg KH
2002-11-01 4:45 Lee, Jung-Ik
2002-11-01 2:39 Lee, Jung-Ik
2002-11-01 2:48 ` Greg KH
2002-10-31 19:29 Lee, Jung-Ik
2002-11-01 1:02 ` Greg KH
2002-11-01 1:55 ` Lee, Jung-Ik
2002-11-01 2:11 ` Greg KH
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=20021104213001.GA8334@kroah.com \
--to=greg@kroah.com \
--cc=jung-ik.lee@intel.com \
--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 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.