| To: | "Tommy S. Christensen" <tommy.christensen@eicon.com> |
|---|---|
| Subject: | Re: mips ide disk dma problem |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Tue, 14 Aug 2001 07:17:19 +0200 |
| Cc: | Barry Wu <wqb123@yahoo.com>, linux-mips@oss.sgi.com |
| In-reply-to: | <3B782CB0.AA24C7C8@eicon.com>; from tommy.christensen@eicon.com on Mon, Aug 13, 2001 at 09:38:24PM +0200 |
| References: | <20010813130729.37581.qmail@web13908.mail.yahoo.com> <3B782CB0.AA24C7C8@eicon.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
On Mon, Aug 13, 2001 at 09:38:24PM +0200, Tommy S. Christensen wrote: > Barry Wu wrote: > > I meet problems about mips ide disk. I find dma mode > > is different from other platform. We have to use > > dma_cache_wback_inv and vtonocache functions to work > > under DMA mode, I read pcnet32 ethernet driver, > > it works like that. I do not know if I have to support > > ide disk dma, what I have to do? > > Some MIPS'ification is needed to handle the caches. > You can try the patch below to drivers/block/ide-dma.c. > > I don't know about your IDE controller (our board have > a CMD PCI-648), but it may need some special handling also. You're referencing a function that doesn't exist in the whole kernel. Aside it's a crude hack anyway. If you have problems with caches use the API defined in Documentation/DMA-mapping.txt. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: /usr/bin/file, Salisbury, Roger |
|---|---|
| Next by Date: | Re: /usr/bin/file, Ralf Baechle |
| Previous by Thread: | Re: mips ide disk dma problem, Tommy S. Christensen |
| Next by Thread: | Re: mips ide disk dma problem, Tommy S. Christensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |