Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Richard Hirst <rhirst@linuxcare.com>
Cc: Grant Grundler <grundler@cup.hp.com>, parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] a500.out16
Date: Thu, 2 Nov 2000 12:01:58 +0000	[thread overview]
Message-ID: <20001102120158.B3632@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20001102113047.J32715@linuxcare.com>; from rhirst@linuxcare.com on Thu, Nov 02, 2000 at 11:30:47AM +0000

On Thu, Nov 02, 2000 at 11:30:47AM +0000, Richard Hirst wrote:
> > Note sym53c8xx.c doesn't seem to bother with request_mem_region(), so
> > maybe request_mem_region() is just broken.
> 
> It is broken because of the following line in kernel/resource.c:
> 
> struct resource iomem_resource = { "PCI mem", 0x00000000, 0xffffffff, IORESOURCE_MEM };
> 
> 'end' needs to be rather higher than 0xffffffff on 64 bit.  I changed it to
> 
> struct resource iomem_resource = { "PCI mem", 0x00000000, ~0, IORESOURCE_MEM };
> 
> and it works.  I havn't committed that 'fix' though.

Probably just as well... the pci_consistent interfaces were designed
partly to stop 32-bit PCI cards having to do dual-address-cycle on
machines with an IOMMU.  if you can, this card should get mapped below
the 32-bit boundary.

-- 
Revolutions do not require corporate support.

  reply	other threads:[~2000-11-02 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-02  8:21 [parisc-linux] a500.out16 Grant Grundler
2000-11-02 10:43 ` Richard Hirst
2000-11-02 11:30   ` Richard Hirst
2000-11-02 12:01     ` Matthew Wilcox [this message]
2000-11-02 16:42       ` Grant Grundler
2000-11-02 12:07   ` Richard Hirst
2000-11-02 10:48 ` Richard Hirst
2000-11-02 16:12   ` Grant Grundler

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=20001102120158.B3632@parcelfarce.linux.theplanet.co.uk \
    --to=matthew@wil.cx \
    --cc=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.com \
    --cc=rhirst@linuxcare.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