]> err.no Git - linux-2.6/commit
ide: fix ide_fix_driveid()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 5 Aug 2008 16:16:56 +0000 (18:16 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 5 Aug 2008 16:16:56 +0000 (18:16 +0200)
commit242f44261e6c5fdc13e3cd12f949ab717dc37d58
treea0cc5c55ce5ece9b8c5585013938f5eb6556c313
parent367fdcb4e401161e51aaee5d06b3f82098bafefc
ide: fix ide_fix_driveid()

Fix byte-swapping for id->words161_175[], id->words206_254[]
and id->words206_254[].

Luckily all words previously left in little-endian byte-order
are marked as reserved so this fix shouldn't affect user-space
applications.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c