Re: endiannes of the kernel

Philipp Rumpf (prumpf@suse.de)
Thu, 29 Jul 1999 11:56:19 +0200


> For you I would be more carefull when claiming something like
> that... As far as I know, all truly commonly used drivers
> (including most of the ones using PCI bus) are written using
> platform hiding interface macroes. (For example there are
> THREE (or four?) ways of doing inb() in different Alpha systems.)
> (Mind you, there is the dimension of little-/big-endianity,
> but also 32/64 bit issues harm some drivers.)

64-bit clean, big-endian clean and uses (read|write)[bwl] are basically
the three things some drivers don't get.

> Driving e.g. IDE, serial ports, LEDs will likely need full-
> custom interface chip drivers.

serial ports, RTC aso are implemented on the SH4 chip itself iirc.

> If the SH4 does not have a MMU, then things may get a bit more

It does (The SH3 and SH3e do too). What might be more of a problem for
the sh3 port is that chip does not have an FPU.

Philipp Rumpf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/