From: Pete Popov <ppopov@mvista.com>
To: fpga dsp <fpga_dsp@yahoo.com.au>
Cc: Tom Cernius <tcernius@correlant.com>,
Linux MIPS mailing list <linux-mips@linux-mips.org>
Subject: Re: FW: Db1500 PCI Auto Scan Question, bus master operation
Date: 12 Jun 2003 10:12:01 -0700 [thread overview]
Message-ID: <1055437921.9969.729.camel@zeus.mvista.com> (raw)
In-Reply-To: <20030612021517.42227.qmail@web41202.mail.yahoo.com>
On Wed, 2003-06-11 at 19:15, fpga dsp wrote:
> Hi,
>
> I am using kernel 2.4.20-pre6 version on db1500 and
> having problem with PCI card as bus master. Basicly,
> the kernel can recognize the card and assign into
> 0x40000000 address region, irq is 1. Now that is
> really strange, stty1 using irq 1 as well. Are they
> the same or different.
There's no UART1 on the Au1500 so you don't have to worry about that
interrupt, even though it's defined in the .h file for the Au1000.
> However ,the problem is that
> after setup the device and trigger it, it should go
> and fetch the descriptor and will fetch the content
> pointed by that descriptor afterward but it only fetch
> the descriptor and quiet. I am even try to trigger it
> again by write into it register mapped on PCI memory
> region but after the first trigger, the second trigger
> doesn't appear on pci bus analyzer at all.
> Another issues, it when I look at au1000_eth.c device
> driver , dma_alloc() function allocate a DMAable
> buffer in KSEG0 region but pci_alloc_consistent return
> in KSEG1 region. So which one is right?
Right for what? KSEG0 works because the cache is coherent. But due to a
pci coherency bug, I think for a new device driver that's a pci bus
master you need to use kseg1 for now.
Pete
prev parent reply other threads:[~2003-06-12 17:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 22:12 FW: Db1500 PCI Auto Scan Question Tom Cernius
2003-06-11 22:12 ` Tom Cernius
2003-06-11 23:22 ` Pete Popov
2003-06-12 2:15 ` FW: Db1500 PCI Auto Scan Question, bus master operation fpga dsp
2003-06-12 4:22 ` fpga dsp
2003-06-12 17:12 ` Pete Popov [this message]
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=1055437921.9969.729.camel@zeus.mvista.com \
--to=ppopov@mvista.com \
--cc=fpga_dsp@yahoo.com.au \
--cc=linux-mips@linux-mips.org \
--cc=tcernius@correlant.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;
as well as URLs for NNTP newsgroup(s).