aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2006-11-27 11:27:20 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-01 22:47:01 -0500
commit62d64ae0ec76360736c9dc4ca2067ae8de0ba9f2 (patch)
treef03f46676e8ce486f9b50417cb1892ae5229264f
parentaa54ab1eff30f1e5859acf4e15f0730288373ee5 (diff)
[PATCH] pata : more drivers that need only standard suspend and resume
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/ata/pata_pdc202xx_old.c8
-rw-r--r--drivers/ata/pata_sis.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c
index ed8d98557f16..81a134cca3cd 100644
--- a/drivers/ata/pata_pdc202xx_old.c
+++ b/drivers/ata/pata_pdc202xx_old.c
@@ -21,7 +21,7 @@
21#include <linux/libata.h> 21#include <linux/libata.h>
22 22
23#define DRV_NAME "pata_pdc202xx_old" 23#define DRV_NAME "pata_pdc202xx_old"
24#define DRV_VERSION "0.2.2" 24#define DRV_VERSION "0.2.3"
25 25
26/** 26/**
27 * pdc2024x_pre_reset - probe begin 27 * pdc2024x_pre_reset - probe begin
@@ -271,6 +271,8 @@ static struct scsi_host_template pdc202xx_sht = {
271 .slave_configure = ata_scsi_slave_config, 271 .slave_configure = ata_scsi_slave_config,
272 .slave_destroy = ata_scsi_slave_destroy, 272 .slave_destroy = ata_scsi_slave_destroy,
273 .bios_param = ata_std_bios_param, 273 .bios_param = ata_std_bios_param,
274 .resume = ata_scsi_device_resume,
275 .suspend = ata_scsi_device_suspend,
274}; 276};
275 277
276static struct ata_port_operations pdc2024x_port_ops = { 278static struct ata_port_operations pdc2024x_port_ops = {
@@ -400,7 +402,9 @@ static struct pci_driver pdc202xx_pci_driver = {
400 .name = DRV_NAME, 402 .name = DRV_NAME,
401 .id_table = pdc202xx, 403 .id_table = pdc202xx,
402 .probe = pdc202xx_init_one, 404 .probe = pdc202xx_init_one,
403 .remove = ata_pci_remove_one 405 .remove = ata_pci_remove_one,
406 .suspend = ata_pci_device_suspend,
407 .resume = ata_pci_device_resume,
404}; 408};
405 409
406static int __init pdc202xx_init(void) 410static int __init pdc202xx_init(void)
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index 91e85f90941d..695e571540cc 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -34,7 +34,7 @@
34#include <linux/ata.h> 34#include <linux/ata.h>
35 35
36#define DRV_NAME "pata_sis" 36#define DRV_NAME "pata_sis"
37#define DRV_VERSION "0.4.4" 37#define DRV_VERSION "0.4.5"
38 38
39struct sis_chipset { 39struct sis_chipset {
40 u16 device; /* PCI host ID */ 40 u16 device; /* PCI host ID */
@@ -547,6 +547,8 @@ static struct scsi_host_template sis_sht = {
547 .slave_configure = ata_scsi_slave_config, 547 .slave_configure = ata_scsi_slave_config,
548 .slave_destroy = ata_scsi_slave_destroy, 548 .slave_destroy = ata_scsi_slave_destroy,
549 .bios_param = ata_std_bios_param, 549 .bios_param = ata_std_bios_param,
550 .resume = ata_scsi_device_resume,
551 .suspend = ata_scsi_device_suspend,
550}; 552};
551 553
552static const struct ata_port_operations sis_133_ops = { 554static const struct ata_port_operations sis_133_ops = {
@@ -1000,6 +1002,8 @@ static struct pci_driver sis_pci_driver = {
1000 .id_table = sis_pci_tbl, 1002 .id_table = sis_pci_tbl,
1001 .probe = sis_init_one, 1003 .probe = sis_init_one,
1002 .remove = ata_pci_remove_one, 1004 .remove = ata_pci_remove_one,
1005 .suspend = ata_pci_device_suspend,
1006 .resume = ata_pci_device_resume,
1003}; 1007};
1004 1008
1005static int __init sis_init(void) 1009static int __init sis_init(void)