Re: [PATCH] 2.5.8 IDE 36

Alan Cox
2002-04-16T15:48:45Z

> Doing it with a loopback like interface at a higher level is the much
> saner operation - I understand why Martin removed the byteswap support,
> and agree with it 100%. It just didn't make any sense from a driver
> standpoint.

We need to support partitioning on loopback devices in that case.

> The only reason byteswapping exists is a rather historical one: Linux did
> the wrong thing for "insw/outsw" on big-endian architectures at one point
> (it byteswapped the data).

A small number of other setups people wired the IDE the quick and easy
way and their native format is indeed ass backwards - some M68K disks and
the Tivo are examples of that. Interworking requires byteswapping and the
ability to handle byteswapped partition tables.

Given the ability to see partitions on loop devices all works out I think

Alan