Messages in this thread | | | Date | Wed, 25 Sep 2002 14:19:46 -0400 | From | Pete Zaitcev <> | Subject | Re: [PATCH] fix ide-iops for big endian archs |
| |
> From: "Benjamin Herrenschmidt" <benh@kernel.crashing.org> > Date: Wed, 25 Sep 2002 14:32:23 +0200
> Curently in 2.5 (afaik in -ac too), the ide-iops "s" routines used > to transfer datas in/out the data port are incorrect for big endian > machines. They are implemented with a loop of inw/outw which are > byteswapping, but a fifo transfer like that mustn't be swapped.
Dunno about ppc, but sparc works just fine as it is in 2.4. When was the last time you examined include/asm-sparc/ide.h?
IDE uses ide_insw instead of plain insw specifically to resolve this kind of issue, and you are trying to defeat the mechanism designed to help you. I smell a fish here.
-- Pete - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |