Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen Williams <steve@icarus.icarus.com>
Subject: DMA under Linux/Alpha
Date: Fri, 21 Feb 1997 11:53:05 -0800	[thread overview]
Message-ID: <039750303c9f46559e2d86676335bcf8.axp-list@archive.invalid> (raw)

I'm trying to port a device driver from Linux/Intel to Linux/Alpha, and
find for the most part it's pretty easy. However, I'm having trouble getting
a PLX9060 set up to do a DMA on the PCI bus to the Alpha memory.

Specifically, I'm having trouble getting memory addresses that I can give
to the PLX so that it can do a transfer.

	I've allocated some buffer space with get_free_page, fine.

	I've been able to manipulate the PLX registers just fine, from
	both sides. (This is a Cyclone-911 board. I have existing software
	on the 911 side.) I've verified this.

	When I set up a DMA transfer, I use the address from virt_to_phys
	as the transfer address. I'm getting addresses like 3fb4000 which
	seem plausible, and 32bit thankyou.

No good. It appears that the PLX is not getting a response from the memory.
I'm stuck.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-02-21 19:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-21 19:53 Stephen Williams [this message]
     [not found] <199702211953.LAA10268@icarus.icarus.com>
1997-02-21 22:22 ` DMA under Linux/Alpha Thomas Bogendoerfer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox