From: Greg KH <greg@kroah.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: mochel@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Problems with 2.5.14 PCI reorg and non-PCI architectures
Date: Thu, 9 May 2002 01:44:24 -0700 [thread overview]
Message-ID: <20020509084424.GC15460@kroah.com> (raw)
In-Reply-To: <200205082311.g48NBAh01729@localhost.localdomain>
On Wed, May 08, 2002 at 07:11:10PM -0400, James Bottomley wrote:
> Hi All,
>
> You've moved arch/i386/kernel/pci-dma.c under your pci subdirectory. This
> means that it is now compiled in only when CONFIG_PCI is defined whereas
> previously it was always compiled.
>
> This file contains all of the DMA memory manipulation functions (like
> pci_alloc_consistent et al.) which you need for device driver memory mapping
> even in a non PCI bus machine.
arch/i386/pci/dma.c now only contains pci_alloc_consistent() and
pci_free_consistent(). What kind of configuration are you using that
works without CONFIG_PCI and yet calls those functions? Is it a ISA_PNP
type configuration? Do you have a .config that this fails on?
> I think the solution is to move it back up to the i386/kernel level and make
> it always compiled in (perhaps keeping the name as dma.c, though).
I'd be glad to move it back, but I'd like to understand who is using
those functions outside of the pci and isa_pnp drivers.
thanks,
greg k-h
next prev parent reply other threads:[~2002-05-09 9:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-08 23:11 Problems with 2.5.14 PCI reorg and non-PCI architectures James Bottomley
2002-05-09 8:44 ` Greg KH [this message]
2002-05-09 13:00 ` James Bottomley
2002-05-09 15:23 ` Greg KH
2002-05-09 16:47 ` James Bottomley
2002-05-09 16:52 ` [BK PATCH] PCI reorg fix Greg KH
2002-05-09 18:06 ` Patrick Mochel
2002-05-09 17:15 ` Greg KH
2002-05-09 18:26 ` James Bottomley
2002-05-09 18:23 ` Kai Germaschewski
2002-05-09 18:26 ` Patrick Mochel
2002-05-09 18:46 ` Kai Germaschewski
2002-05-09 19:45 ` Martin Dalecki
2002-05-09 21:34 ` James Bottomley
2002-05-09 20:51 ` Martin Dalecki
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=20020509084424.GC15460@kroah.com \
--to=greg@kroah.com \
--cc=James.Bottomley@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.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