| To: | nemoto@toshiba-tops.co.jp (Atsushi Nemoto) |
|---|---|
| Subject: | Re: IDE DMA mode in Big endian for mips |
| From: | Alan Cox <alan@lxorguk.ukuu.org.uk> |
| Date: | Sun, 21 Oct 2001 17:50:00 +0100 (BST) |
| Cc: | hli@quicklogic.com, linux-mips@oss.sgi.com |
| In-reply-to: | <20011017.113842.41627007.nemoto@toshiba-tops.co.jp> from "Atsushi Nemoto" at Oct 17, 2001 11:38:42 AM |
| Sender: | owner-linux-mips@oss.sgi.com |
> return 1; /* try PIO instead of DMA */ > +#if defined(__mips__) && defined(__BIG_ENDIAN) /* XXX mips only? */ > + outl(cpu_to_le32(hwif->dmatable_dma), dma_base + 4); /* > PRD table */ > +#else > outl(hwif->dmatable_dma, dma_base + 4); /* PRD table */ > +#endif You should actually just be able to delete the #if stuff. On an LE machine cpu_to_le32() is a null operation |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: The Linux binutils 2.11.92.0.7 is released., H . J . Lu |
|---|---|
| Next by Date: | csum_ipv6_magic(), Machida Hiroyuki |
| Previous by Thread: | Re: IDE DMA mode in Big endian for mips, Atsushi Nemoto |
| Next by Thread: | binutils 2.11.92.0.5 is broke (Re: Binutils Bug), H . J . Lu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |