| To: | Dave Airlie <airlied@csn.ul.ie>, linux-mips@fnet.fr |
|---|---|
| Subject: | Re: SCSI driver questions .. |
| From: | Ulf Carlsson <ulfc@thepuffingroup.com> |
| Date: | Fri, 14 May 1999 16:50:27 +0200 |
| In-reply-to: | <19990514164723.A23848@thepuffingroup.com>; from Ulf Carlsson on Fri, May 14, 1999 at 04:47:23PM +0200 |
| 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> <19990514164723.A23848@thepuffingroup.com> |
On Fri, May 14, 1999 at 04:47:23PM +0200, Ulf Carlsson wrote: > > 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). Uhm, excuse me for replying to myself, but that should be KSEG1ADDR(0x00fe3000) of course. - Ulf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SCSI driver questions .., Ulf Carlsson |
|---|---|
| Next by Date: | Is this list alive ?, Andre McCurdy |
| Previous by Thread: | Re: SCSI driver questions .., Ulf Carlsson |
| Next by Thread: | Is this list alive ?, Andre McCurdy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |