]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide-pmac: IDE cable detection on Apple PowerBook
authorTOMARI Hisanobu <posco.grubb@gmail.com>
Tue, 31 Mar 2009 18:15:34 +0000 (20:15 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 31 Mar 2009 18:15:34 +0000 (20:15 +0200)
commita9d5a97fa3828e7cbc577805eba3d0a0d35dd5a0
treec415f1f3099efa63ac872044dec25b2ea2c7fcc3
parentfdd88f0af616db59a6a36bdf0185181d2b779f53
ide-pmac: IDE cable detection on Apple PowerBook

As IDE cable used on Apple PowerBook/iBook laptops are always of "Short 40"
type when the firmware says it's 80 conductor one, the cable detection should
return ATA_CBL_PATA40_SHORT on those machines.  This enables to automatically
use UDMA5 even with drives that doesn't correctly detect those cables on Apple
laptops.

Signed-off-by: TOMARI Hisanobu <posco.grubb@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: benh@kernel.crashing.org
[bart: beautify patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pmac.c