Skip to contentSkip to conversation

ATA identity, Endian swap

PATCH New Thomas Lange 2 participants 2 messages Oct 8, 2003 – Oct 9, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ATA identity, Endian swap

Reading of ATA drive id is broken in cmd_ide.c for big endian cpu:s that are not ppc.

If I am not mistaken, the text strings should be endian swapped on big endian cpu:s, but not for little ones.

* Patch by Thomas Lange, 10 Oct 2003:
Endian swap ATA identity for all big endian cpu:s, not just ppc.

/Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: swap_patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20031009/e61bf9aa/attachment.txt

#1 lore raw

PATCH 1/1 ATA identity, Endian swap

Quoted 9 lines · In message <[email protected]> you wrote:

Reading of ATA drive id is broken in cmd_ide.c for big endian cpu:s that are not ppc.

If I am not mistaken, the text strings should be endian swapped on big endian cpu:s, but not for little ones.

* Patch by Thomas Lange, 10 Oct 2003:
Endian swap ATA identity for all big endian cpu:s, not just ppc.

Added, thanks. Will show up on CVS soon.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Generally speaking, there are other ways to accomplish whatever it is
that you think you need ...                               - Doug Gwyn