sata_promise: add missing cable_detect hooks
authorMikael Pettersson <mikpe@it.uu.se>
Sun, 11 Mar 2007 20:19:27 +0000 (21:19 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:59 +0000 (14:15 -0400)
commit799331fda03f969b781553b786f38b83ec3bb608
treeb6ed373e9e45991540969972d82dccdd91ac0f75
parent8cdfb29c0cd8018f92214c11c631d8926f4cb032
sata_promise: add missing cable_detect hooks

The recent change which moved cable detection from
pdc_pre_reset() to the new ->cable_detect hook only
added the hook for SATAII chips, leaving SATAI chips
and the 20619 without the hook. Fixed by this patch.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c