Hello ! In response to Jun Suns mail sent on 06/24/2004 Anybody has tried IDE disks in big endian mode with 2.6 kernel? I seem to have troubles with Malta board. Current malta board has CONFIG_SWAP_IO_SPACE defined and therefore all inw, inl and their friends are byte-swapped in BE mode. As a results all IDE IO ops (such as ide_inw, etc) do swapping too. A quick experiement shows those IDE IO ops should not do swapping. Anybody knows why? Apparently fixing the above is not enough. I either encountered failure to read partition table or having DMA error. Any clues here? I suppose this problem really should exist for other arches with BE support. Anybody knows how other arches deal with this? Thanks. Jun --- The following patch gets the Malta to work well. However, this patch introduces board specific changes in the IDE subsystem. This is not a final patch but maybe there can be a better approach to this issue Thanks Manish