lkml.org 
[lkml]   [1999]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: endiannes of the kernel
Date
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.1960.3">
<TITLE>RE: endiannes of the kernel</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I work on a big-endian PowerPC box. A pci bus and a PC104 (ISA) is available on this</FONT>
<BR><FONT SIZE=2 FACE="Arial">system. I can try every device made for an intel PC. A lot of drivers</FONT>
<BR><FONT SIZE=2 FACE="Arial">are broken in this configuration: On linux 2.2.9, the classic network board PCI NE2000</FONT>
<BR><FONT SIZE=2 FACE="Arial">don't work (very small changes are needed to fix it), 3Com Etherlink III is also broken etc ...</FONT>
<BR><FONT SIZE=2 FACE="Arial">Other works well: Matrox FB, adaptec SCSI...</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The main problems on theses drivers are the lacks of little-endian to big-endian</FONT>
<BR><FONT SIZE=2 FACE="Arial">conversions. The problem can also be related to physical memory space and</FONT>
<BR><FONT SIZE=2 FACE="Arial">pci memory space in the case of bus master PCI devices.</FONT>
<BR><FONT SIZE=2 FACE="Arial">These space are the same on a PC but are different on a PowerPC architecture.</FONT>
<BR><FONT SIZE=2 FACE="Arial">The linux kernel own a method to handle properly theses differences, but a lot</FONT>
<BR><FONT SIZE=2 FACE="Arial">of intel drivers bypass it. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Some works will be necessary to have all the PCI devices working properly on all</FONT>
<BR><FONT SIZE=2 FACE="Arial">differents linux platform. Having a little-endian architecture help a little...</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Patrick LERDA</FONT>
</P>

</BODY>
</HTML>
\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans