diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2006-11-22 11:57:36 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:46:49 -0500 |
commit | 30ced0f0d211999f316930eff7287aa5a9995bef (patch) | |
tree | f00359c2aa4dda61d7d31f58a72fee78ef059a14 /drivers/ata/pata_atiixp.c | |
parent | 8550c1637ba7dd96a76353eb52d31088f9c2f5fe (diff) |
[PATCH] PATA libata: suspend/resume simple cases
This patch adds the suspend/resume callbacks for drivers which don't need
any additional help (beyond the pci resume quirk patch I posted earlier
anyway). Also bring version numbers back inline with master copies.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_atiixp.c')
-rw-r--r-- | drivers/ata/pata_atiixp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 4e1d3b59adbb..7d9e391b0d18 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/libata.h> | 22 | #include <linux/libata.h> |
23 | 23 | ||
24 | #define DRV_NAME "pata_atiixp" | 24 | #define DRV_NAME "pata_atiixp" |
25 | #define DRV_VERSION "0.4.3" | 25 | #define DRV_VERSION "0.4.4" |
26 | 26 | ||
27 | enum { | 27 | enum { |
28 | ATIIXP_IDE_PIO_TIMING = 0x40, | 28 | ATIIXP_IDE_PIO_TIMING = 0x40, |
@@ -218,6 +218,8 @@ static struct scsi_host_template atiixp_sht = { | |||
218 | .slave_configure = ata_scsi_slave_config, | 218 | .slave_configure = ata_scsi_slave_config, |
219 | .slave_destroy = ata_scsi_slave_destroy, | 219 | .slave_destroy = ata_scsi_slave_destroy, |
220 | .bios_param = ata_std_bios_param, | 220 | .bios_param = ata_std_bios_param, |
221 | .resume = ata_scsi_device_resume, | ||
222 | .suspend = ata_scsi_device_suspend, | ||
221 | }; | 223 | }; |
222 | 224 | ||
223 | static struct ata_port_operations atiixp_port_ops = { | 225 | static struct ata_port_operations atiixp_port_ops = { |
@@ -281,7 +283,9 @@ static struct pci_driver atiixp_pci_driver = { | |||
281 | .name = DRV_NAME, | 283 | .name = DRV_NAME, |
282 | .id_table = atiixp, | 284 | .id_table = atiixp, |
283 | .probe = atiixp_init_one, | 285 | .probe = atiixp_init_one, |
284 | .remove = ata_pci_remove_one | 286 | .remove = ata_pci_remove_one, |
287 | .resume = ata_pci_device_resume, | ||
288 | .suspend = ata_pci_device_suspend, | ||
285 | }; | 289 | }; |
286 | 290 | ||
287 | static int __init atiixp_init(void) | 291 | static int __init atiixp_init(void) |