lkml.org 
[lkml]   [2002]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.14 IDE 55

>> we should fix atari byte-swapped ide in ata_read() like we do in
>> atapi_read() then ide_fix_driveid() will make rest...
>> (or I am missing something?)
>
> Here you can mix two different issues:
> - Ataris have a byte-swapped IDE interface. Hence we need support to
> swap data for interoperability (not only on Atari: imagine an Atari disk
> connected to a PC)

dealt in (arch/parameter) specific ata_read()
reverses byteswapped data

> - IDE is little endian, so the drive identification is little endian too.
> To make things more complex, not only multibyte objects, but also
> text strings are byteswapped.

dealt in generic ide_fix_driveid()
converts driveid to cpu endianness

greetings...
--
bkz

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.021 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site