All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-ia64@vger.kernel.org
Subject: Re: ACPI vs PCI: configuration space
Date: Wed, 18 Jun 2003 22:30:03 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105597551609149@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105597468808360@msgid-missing>

On Wed, Jun 18, 2003 at 11:17:52PM +0100, Matthew Wilcox wrote:
> 
> It's kind of annoying to invent some structures and put some values into
> them only to pull them out again.  This leads to try 5 ...
> 
> struct acpi_pci_ops {
> 	int (*read)(int domain, int bus, int devfn, int where, int size, u32 *val);
> 	int (*write)(int domain, int bus, int devfn, int where, int size, u32 val);
> }
> 
> It reduces stack consumption, which is a clear win ... it's also _incredibly_
> easy to implement since all the existing pci_ops call functions which take
> exactly this form.
> 
> Go on, approve Try 5.  You know you want to ;-)

So for i386, what would domain be?

Anyway, yeah, I agree with try 5, that seems the most sane.

thanks,

greg k-h

  reply	other threads:[~2003-06-18 22:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 22:17 ACPI vs PCI: configuration space Matthew Wilcox
2003-06-18 22:30 ` Greg KH [this message]
2003-06-18 23:00 ` Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2003-06-18 22:17 Matthew Wilcox
     [not found] ` <20030618221752.GY24357-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2003-06-18 22:30   ` Greg KH
     [not found]     ` <20030618223003.GA2134-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2003-06-18 23:00       ` Matthew Wilcox

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-105597551609149@msgid-missing \
    --to=greg@kroah.com \
    --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.