linux-mips-fnet
[Top] [All Lists]

Re: SCSI driver questions ..

To: Dave Airlie <airlied@csn.ul.ie>
Subject: Re: SCSI driver questions ..
From: Ulf Carlsson <ulfc@thepuffingroup.com>
Date: Fri, 14 May 1999 16:47:23 +0200
Cc: linux-mips@fnet.fr
In-reply-to: <Pine.LNX.3.96.990514133649.28018B-100000@skynet.csn.ul.ie>; from Dave Airlie on Fri, May 14, 1999 at 01:42:53PM +0100
Mail-followup-to: Dave Airlie <airlied@csn.ul.ie>, linux-mips@fnet.fr
References: <Pine.LNX.3.96.990514133649.28018B-100000@skynet.csn.ul.ie>
> dma_init_read and dma_init_write are passed a __u32 vaddress, this is
> resolving on my system for the first write to  00fe3000, however if I read
> from this address I get a 
> 
> Unable to handle kernel paging request at virtual address 00fe3000

0x00fe3000 is a physical address, you may pass that address to the hardware, but
you may not use it in the kernel. If you want to access it from the kernel you
will have to add 0xa0000000. That's easily done by using the KSEG1 macro, thus
in your particular case KSEG1(0x00fe3000).

- Ulf

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