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
Uz.ytkownik Roman Zippel napisa?:
> Hi,
>
> On Mon, 6 May 2002, Martin Dalecki wrote:
>
>
>>- Consolidate the handling of device ID byte order in one place.
>> This was spotted and patched by Bartomiej onierkiewicz.
>
>
> Another thing: where is the equivalilent part of this removed code?

Look closer it's there in ide-probe.c.

>
> -static __inline__ void ide_fix_driveid(struct hd_driveid *id)
> -{
> -#if defined(CONFIG_AMIGA) || defined (CONFIG_MAC) || defined(M68K_IDE_SWAPW)
> - u_char *p = (u_char *)id;
> - int i, j, cnt;
> - u_char t;
> -
> - if (!MACH_IS_AMIGA && !MACH_IS_MAC && !MACH_IS_Q40 && !MACH_IS_ATARI)
> - return;
> -#ifdef M68K_IDE_SWAPW
> - if (M68K_IDE_SWAPW) /* fix bus byteorder first */
> - for (i=0; i < 512; i+=2) {
> - t = p[i]; p[i] = p[i+1]; p[i+1] = t;
> - }
> -#endif
>
> bye, Roman

-
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.170 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site