[libata] pata_{legacy,sc1200,sl82c105}: add missing hooks

Alan Cox noticed several hooks in pata_* drivers were missing, when
he authored his ->cable_detect hook patches. This patch extracts
just those fixes from Alan's patches, adding the necessary hooks
(usually ->freeze, ->thaw, and ->post_internal_cmd) to the drivers.

Signed-off-by: Jeff Garzik <jeff@garzik.org>

+24
+18
drivers/ata/pata_legacy.c
··· 186 .exec_command = ata_exec_command, 187 .dev_select = ata_std_dev_select, 188 189 .error_handler = ata_bmdma_error_handler, 190 191 .qc_prep = ata_qc_prep, 192 .qc_issue = ata_qc_issue_prot, ··· 301 .exec_command = ata_exec_command, 302 .dev_select = ata_std_dev_select, 303 304 .error_handler = ata_bmdma_error_handler, 305 306 .qc_prep = ata_qc_prep, 307 .qc_issue = ata_qc_issue_prot, ··· 356 .exec_command = ata_exec_command, 357 .dev_select = ata_std_dev_select, 358 359 .error_handler = ata_bmdma_error_handler, 360 361 .qc_prep = ata_qc_prep, 362 .qc_issue = ata_qc_issue_prot, ··· 422 .exec_command = ata_exec_command, 423 .dev_select = ata_std_dev_select, 424 425 .error_handler = ata_bmdma_error_handler, 426 427 .qc_prep = ata_qc_prep, 428 .qc_issue = ata_qc_issue_prot, ··· 543 .exec_command = ata_exec_command, 544 .dev_select = ata_std_dev_select, 545 546 .error_handler = ata_bmdma_error_handler, 547 548 .qc_prep = ata_qc_prep, 549 .qc_issue = ata_qc_issue_prot, ··· 676 .exec_command = ata_exec_command, 677 .dev_select = ata_std_dev_select, 678 679 .error_handler = ata_bmdma_error_handler, 680 681 .qc_prep = ata_qc_prep, 682 .qc_issue = opti82c46x_qc_issue_prot,
··· 186 .exec_command = ata_exec_command, 187 .dev_select = ata_std_dev_select, 188 189 + .freeze = ata_bmdma_freeze, 190 + .thaw = ata_bmdma_thaw, 191 .error_handler = ata_bmdma_error_handler, 192 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 193 194 .qc_prep = ata_qc_prep, 195 .qc_issue = ata_qc_issue_prot, ··· 298 .exec_command = ata_exec_command, 299 .dev_select = ata_std_dev_select, 300 301 + .freeze = ata_bmdma_freeze, 302 + .thaw = ata_bmdma_thaw, 303 .error_handler = ata_bmdma_error_handler, 304 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 305 306 .qc_prep = ata_qc_prep, 307 .qc_issue = ata_qc_issue_prot, ··· 350 .exec_command = ata_exec_command, 351 .dev_select = ata_std_dev_select, 352 353 + .freeze = ata_bmdma_freeze, 354 + .thaw = ata_bmdma_thaw, 355 .error_handler = ata_bmdma_error_handler, 356 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 357 358 .qc_prep = ata_qc_prep, 359 .qc_issue = ata_qc_issue_prot, ··· 413 .exec_command = ata_exec_command, 414 .dev_select = ata_std_dev_select, 415 416 + .freeze = ata_bmdma_freeze, 417 + .thaw = ata_bmdma_thaw, 418 .error_handler = ata_bmdma_error_handler, 419 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 420 421 .qc_prep = ata_qc_prep, 422 .qc_issue = ata_qc_issue_prot, ··· 531 .exec_command = ata_exec_command, 532 .dev_select = ata_std_dev_select, 533 534 + .freeze = ata_bmdma_freeze, 535 + .thaw = ata_bmdma_thaw, 536 .error_handler = ata_bmdma_error_handler, 537 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 538 539 .qc_prep = ata_qc_prep, 540 .qc_issue = ata_qc_issue_prot, ··· 661 .exec_command = ata_exec_command, 662 .dev_select = ata_std_dev_select, 663 664 + .freeze = ata_bmdma_freeze, 665 + .thaw = ata_bmdma_thaw, 666 .error_handler = ata_bmdma_error_handler, 667 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 668 669 .qc_prep = ata_qc_prep, 670 .qc_issue = opti82c46x_qc_issue_prot,
+3
drivers/ata/pata_sc1200.c
··· 210 .exec_command = ata_exec_command, 211 .dev_select = ata_std_dev_select, 212 213 .error_handler = ata_bmdma_error_handler, 214 215 .bmdma_setup = ata_bmdma_setup, 216 .bmdma_start = ata_bmdma_start,
··· 210 .exec_command = ata_exec_command, 211 .dev_select = ata_std_dev_select, 212 213 + .freeze = ata_bmdma_freeze, 214 + .thaw = ata_bmdma_thaw, 215 .error_handler = ata_bmdma_error_handler, 216 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 217 218 .bmdma_setup = ata_bmdma_setup, 219 .bmdma_start = ata_bmdma_start,
+3
drivers/ata/pata_sl82c105.c
··· 234 .exec_command = ata_exec_command, 235 .dev_select = ata_std_dev_select, 236 237 .error_handler = sl82c105_error_handler, 238 239 .bmdma_setup = ata_bmdma_setup, 240 .bmdma_start = sl82c105_bmdma_start,
··· 234 .exec_command = ata_exec_command, 235 .dev_select = ata_std_dev_select, 236 237 + .freeze = ata_bmdma_freeze, 238 + .thaw = ata_bmdma_thaw, 239 .error_handler = sl82c105_error_handler, 240 + .post_internal_cmd = ata_bmdma_post_internal_cmd, 241 242 .bmdma_setup = ata_bmdma_setup, 243 .bmdma_start = sl82c105_bmdma_start,