From: Adrian Cox <adrian@humboldt.co.uk>
To: paulus@samba.org
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: ide_init_hwif_ports
Date: Thu, 29 Nov 2001 08:55:35 +0000 [thread overview]
Message-ID: <3C05F807.9090806@humboldt.co.uk> (raw)
In-Reply-To: 15365.51839.327359.844495@gargle.gargle.HOWL
Paul Mackerras wrote:
> Platforms with a PCI IDE controller should use the pci-ide driver
> instead of trying to use ide_default_io_base and ide_init_hwif_ports
> to point the IDE code at the IDE registers. In other words, only
> those platforms with an ISA IDE controller (prep, any others?) should
> ever need to have their ide_default_io_base return anything other than
> 0.
>
> So I am proposing to drop ppc_md.ide_init_hwif_ports and change the
> definition of ide_init_hwif_ports in include/asm-ppc/ide.h to the one
> above.
The one important thing that the ide_init_hwif function handles for one
of my boards (and for the sandpoint) is the knowledge that the irqs are
14 and 15. If left to its own devices the pci-ide code will assume that
both channels are on the same irq, which leaves the second channel
running without interrupts.
But I'd be happy with any simpler way of communicating "just use 14 and
15" to the pci-ide driver.
--
Adrian Cox http://www.humboldt.co.uk/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-11-29 8:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-29 5:41 ide_init_hwif_ports Paul Mackerras
2001-11-29 8:55 ` Adrian Cox [this message]
2001-11-29 11:58 ` ide_init_hwif_ports Paul Mackerras
2001-11-29 16:57 ` ide_init_hwif_ports Dan Malek
2001-11-29 16:20 ` ide_init_hwif_ports Joseph P. Garcia
2001-11-29 18:58 ` ide_init_hwif_ports Armin Kuster
-- strict thread matches above, loose matches on Subject: below --
2001-11-29 19:00 ide_init_hwif_ports Michael Sokolov
2001-11-29 21:55 ` ide_init_hwif_ports Paul Mackerras
2001-11-29 21:42 ide_init_hwif_ports mod+linuxppc-dev
2001-11-29 22:21 ` ide_init_hwif_ports Adrian Cox
2001-11-29 22:15 ide_init_hwif_ports Michael Sokolov
2001-11-29 22:24 ide_init_hwif_ports Michael Sokolov
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=3C05F807.9090806@humboldt.co.uk \
--to=adrian@humboldt.co.uk \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).