From: Grant Grundler <grundler@puffin.external.hp.com>
To: Richard Hirst <rhirst@linuxcare.com>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] request_region()
Date: Mon, 02 Apr 2001 21:06:10 -0600 [thread overview]
Message-ID: <200104030306.VAA10572@puffin.external.hp.com> (raw)
In-Reply-To: Your message of "Tue, 03 Apr 2001 00:11:14 BST." <20010403001114.F9198@linuxcare.com>
Richard Hirst wrote:
> My 715/old, with a cvs head kernel, has no entries in /proc/ioports.
> If I change our IO_SPACE_LIMIT in io.h from 0x00ffffff to 0xfffffff,
> I get
>
> apollo:~# cat /proc/ioports
> f0800000-f08fffff : ASP
> f0800000-f0800013 : reserved
> f0800020-f0800020 : led_data
> f0824800-f0824802 : parport0
> f0826000-f0826010 : i82596
...
> Should all that ASP related stuff be doing a request_mem_region()
> so they show up in /proc/iomem rather than /proc/ioports?
Yes. I think so.
Ideally, /proc/ioports should be empty for systems without PCI or EISA.
> If so, does that have implications for EISA devices which will appear
> under ASP, where we might want to use exisiting drivers that do
> request_region()?
The plan was EISA devices under ASP should use request_region()
and inb/outb. I have no clue how EISA "bus walk" works or how EISA
drivers will find/claim their devices.
The EISA HBA needs to register it's "pci_ops".
See arch/parisc/kernel/pci.c:PCI_PORT_OUT macro.
> from io.h:
>
> /* IO Port space is : BBiiii where BB is HBA number. */
> #define IO_SPACE_LIMIT 0x00ffffff
Yup - that's correct. It means the "offending" drivers above aren't
using inb/outb since "BB" value would index beyond the end
of the HBA array and crash the box.
grant
Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253
next prev parent reply other threads:[~2001-04-03 3:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-02 23:11 [parisc-linux] request_region() Richard Hirst
2001-04-03 3:06 ` Grant Grundler [this message]
2001-04-03 9:05 ` Richard Hirst
2001-04-03 16:41 ` Matthew Wilcox
2001-04-04 0:25 ` Grant Grundler
2001-04-03 23:57 ` Grant Grundler
2001-04-04 0:10 ` 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=200104030306.VAA10572@puffin.external.hp.com \
--to=grundler@puffin.external.hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
--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