mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: davem@redhat.com (David S. Miller)
Cc: alan@lxorguk.ukuu.org.uk, 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: Tue, 12 Feb 2002 14:51:33 +0000 (GMT)	[thread overview]
Message-ID: <E16aeHN-00020H-00@the-village.bc.nu> (raw)
In-Reply-To: <20020211.184316.70218682.davem@redhat.com> from "David S. Miller" at Feb 11, 2002 06:43:16 PM

> 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.

Would putting a range check and BUG() in the ISA macros for now help there.

Reminds me - we have a request_mem_region problem to address that is sort
of related to all this. Right now we reserve mem regions without knowing
properly about ISA mappings. That means drivers are reserving stuff like
0xD0000. Unfortunately on some non X86 boxes the ISA hole isnt at 640K-1M
so it appears we want an  isa_request_mem_region and friends to handle those
platforms ?

  reply	other threads:[~2002-02-12 14:38 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 ` John Weber
2002-02-11 18:10   ` Alan Cox
2002-02-12  2:43   ` David S. Miller
2002-02-12 14:51     ` Alan Cox [this message]
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=E16aeHN-00020H-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=davem@redhat.com \
    --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

all inboxes | Powered by JetHome®