RE: IBM 850 - Open Firmware or not? and more on the ide byteswapg ame...
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2000-03-10 08:31:18
On Thu, 9 Mar 2000, Patrick Lerda wrote:
I think porting Linux PPC to little endian could be a great idea. Now, all systems use PCI, and little endian is the native mode of this bus. Trying to get all PCI hardware well supported on Linux i386 working on a PowerPC box is an headache, and a lot of drivers and programs don't work proberly for only one reason: endianess... Using PowerPC in big endian mode is only understandable
Endianness is definitely not the only reason for drivers and programs that don't work. We also have problems with mb(), char (un)signedness and I/O mappings, just to name a few. While having a little endian Linux/PPC may seem to solve this issue, it would introduce a lot of other CPU-related problems (cvfr. Gabriel Paubert's mails). Furthermore it would remove one more reason for people not trying to write portable and clean code. And there are other big endian platforms as well. Also having a little endian Linux/PPC would drop us to the same level as a well-known company from Redmond that doesn't seem to be able to write portable OSses. Even their embedded gimmick is available for little endian (or bi-endian) CPUs only.
in closed computers like iMac.
There are lots of technical reasons running big endian OSses on PPC.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/