ide_ops issues for big endian mips
I am using an Au1500 based system in big endian mode. IDE worked fine with the 2.4.20 kernel, but broke in the 2.4.21 kernel. It seems that the 2.4.20 IDE code provided some IDE operations ide_insw, ide_outsw, ide_insl and ide_outsl, that didn't use the standard io.h functions (insw, outsw, insl, outsl) but instead provided some special IDE versions that didn't do the byte swapping done by the standard calls.
This is not true for the 2.4.21 IDE code. It uses the standard functions in io.h and these do the byte swapping and things don't work. By changing these functions to not swap, IDE works for me again.
Any thoughts? Anybody else seen this? Am I doing something
wrong and fixing a symptom not the problem?
Lyle
Quoted 5 lines · Lyle Bainbridge
provided some IDE operations
ide_insw,ide_outsw,ide_inslandide_outsl, that didn't use the standardio.hfunctions (insw, outsw, insl, outsl) but instead provided some special IDE versions that didn't do the byte swapping done by the standard calls.
A port can override these. PowerPC does the neccessary since it also has deeply broken I/O functions.