From: Grant Grundler <grundler@parisc-linux.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: parisc-linux@lists.parisc-linux.org,
Grant Grundler <grundler@parisc-linux.org>,
"M. Grabert" <xam@cs.ucc.ie>
Subject: Re: [parisc-linux] C3000 and Promise Ultra100 TX2 PCI Controller
Date: Sat, 28 Feb 2004 09:45:06 -0700 [thread overview]
Message-ID: <20040228164506.GA11659@colo.lackof.org> (raw)
In-Reply-To: <1077984432.31248.4.camel@dhcp23.swansea.linux.org.uk>
On Sat, Feb 28, 2004 at 04:07:13PM +0000, Alan Cox wrote:
> The SI goes via mmio promise via PIO, so it may be you unfixed the one
> that was right ?
oic. siimage.c doesn't use the same code path.
I'll guess promise needs the arch/parisc/lib/io.c patch anyway
and something else is wrong with siimage. I'll track that
down later - could be something similar...
drivers/ide/pci/siimage.c: default_hwif_mmiops(hwif);
ide-iops.c:void default_hwif_mmiops (ide_hwif_t *hwif)
...
hwif->INSW = ide_mm_insw;
include/asm-parisc/ide.h:
static __inline__ void __ide_mm_insw(unsigned long port, void *addr, u32 count)
{
while (count--) {
*(u16 *)addr = readw(port);
addr += 2;
}
}
include/asm/io.h:#define readw(addr) (*(volatile unsigned short *) __io_virt(addr))
Uhoh..no swapping at all in this case.
I was expecting readw to swap bytes.
Am I just confused again about how a BE is supposed to behave?
*sigh*
grant
next prev parent reply other threads:[~2004-02-28 16:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 0:52 [parisc-linux] C3000 and Promise Ultra100 TX2 PCI Controller M. Grabert
2004-02-26 1:08 ` Alan Cox
2004-02-26 1:59 ` M. Grabert
[not found] ` <20040226051124.GB3645@colo.lackof.org>
[not found] ` <Pine.LNX.4.58.0402260513010.28003@sal.ucc.ie>
2004-02-26 15:56 ` Grant Grundler
2004-02-27 18:44 ` Alan Cox
2004-02-27 21:23 ` Grant Grundler
2004-02-27 23:50 ` M. Grabert
2004-02-28 1:05 ` M. Grabert
2004-02-28 16:07 ` Alan Cox
2004-02-28 16:45 ` Grant Grundler [this message]
2004-02-28 17:24 ` James Bottomley
2004-02-28 17:41 ` Matthew Wilcox
2004-02-28 19:48 ` Grant Grundler
2004-02-28 1:53 ` Matthew Wilcox
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=20040228164506.GA11659@colo.lackof.org \
--to=grundler@parisc-linux.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=xam@cs.ucc.ie \
/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