linux-mips
[Top] [All Lists]

How to the the physical addresses under linux (au1500)

To: linux-mips@linux-mips.org
Subject: How to the the physical addresses under linux (au1500)
From: Sergio Ruiz <quekio@gmail.com>
Date: Tue, 3 May 2005 21:56:26 +0200
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AtOphbTiY4GLwc0k0An1g+3tUFZqDVzouK1Tzlwo9xpoK7tiIbcqBuB6TkOZ0lICpkNXfkF1P1amcB3oDw2NXCOXiJooCpMiaook71hmJY96oL6yd5NbGt2v2b8vkTuyYyKgDrRnGt/VoEMmY1bPfn3/cjcUgOfF5Dl+Zcfytt4=
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: Sergio Ruiz <quekio@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
I am trying to program  the DMA (with the ac97) in assembler using a
linux kernel module for mips teaching purposes.
The problem is that I need to get the physical address of the pointer
to the buffer to transfer to the AC97.
Looking at the kernel source code, I found that I can get the physical
address subtracting 0x8000000, but It doesnt seem to work.

Any idea?

Thanks,

Sergio

<Prev in Thread] Current Thread [Next in Thread>