]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Old IDE, fix SATA detection for cabling
authorMichael-Luke Jones <mlj28@cam.ac.uk>
Mon, 20 Nov 2006 21:30:21 +0000 (22:30 +0100)
committerAdrian Bunk <bunk@stusta.de>
Mon, 20 Nov 2006 21:30:21 +0000 (22:30 +0100)
commitc61120c340f2916d331db65fe565868a90cd9779
tree47fb0811f338e381ecfe0f2f46e73433ba4b6258
parent2c8e2c9fe5a7f6952b2c16d934ee9cc112643f0f
Old IDE, fix SATA detection for cabling

This patch is identical to that introduced in
1a1276e7b6cba549553285f74e87f702bfff6fac to the Linus' 2.6 development tree
by Alan Cox.

'This is based on the proposed patches flying around but also checks that
the device in question is new enough to have word 93 rather thanb blindly
assuming word 93 == 0 means SATA (see ATA-5, ATA-7)' -- Alan Cox

Required for my SATA drive on an Asus Pundit-R to operate above 33MBps.

Signed-off-by: Michael-Luke Jones <mlj28@cam.ac.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/ide/ide-iops.c