lkml.org 
[lkml]   [2002]   [May]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 07 May 2002 12:12:07 +0200
FromMartin Dalecki <>
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    [from the cache]
©2003-2008