[PATCH] Old IDE, fix SATA detection for cabling
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 28 Jun 2006 11:26:58 +0000 (04:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:06 +0000 (14:59 -0700)
commit1a1276e7b6cba549553285f74e87f702bfff6fac
tree4765d49634c9c1c0aca565287ba28b6c1b5910f9
parent1e866f0bf89e829736a12599bb7f476d1c378646
[PATCH] Old IDE, fix SATA detection for cabling

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)

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-iops.c