public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: alan@lxorguk.ukuu.org.uk
Cc: weber@nyc.rr.com, tom_gall@vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: 2.5.4, cs46xx snd, and virt_to_bus
Date: Mon, 11 Feb 2002 18:43:16 -0800 (PST)	[thread overview]
Message-ID: <20020211.184316.70218682.davem@redhat.com> (raw)
In-Reply-To: <E16aKtw-0007Q0-00@the-village.bc.nu>
In-Reply-To: <3C680184.9090208@nyc.rr.com> <E16aKtw-0007Q0-00@the-village.bc.nu>

   From: Alan Cox <alan@lxorguk.ukuu.org.uk>
   Date: Mon, 11 Feb 2002 18:10:04 +0000 (GMT)
   
   For ISA devices pass NULL.

That is the recommended method for drivers that have to deal
with ISA and PCI variants of a chipset.

However, for "purely x86 ISA" devices one may use
isa_bus_to_virt and isa_virt_to_bus.

I hesitate to even mention this because what people should _not_ do is
just put "isa_" in front of the virt_to_bus et al. calls in all the
PCI drivers that stopped to link now.

There are other tangental issues I'd like to address and clarify in
this area.  This includes the "what can be invoked from interrupt"
questions.  Currently I think pci_{alloc,free}_consistent() should be
valid from an interrupt.

  reply	other threads:[~2002-02-12  2:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.fefkfjv.rmid9f@ifi.uio.no>
2002-02-11 17:38 ` 2.5.4, cs46xx snd, and virt_to_bus John Weber
2002-02-11 18:10   ` Alan Cox
2002-02-12  2:43     ` David S. Miller [this message]
2002-02-12 14:51       ` Alan Cox
2002-02-12 14:49         ` benh
2002-02-12 14:50           ` benh
2002-02-14  6:36         ` Paul Gortmaker
2002-02-14 13:26           ` Alan Cox
2002-02-11 18:09 Tom Gall
2002-02-11 17:53 ` Alan Cox

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=20020211.184316.70218682.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tom_gall@vnet.ibm.com \
    --cc=weber@nyc.rr.com \
    /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