提交 62d64ae0 编写于 作者: A Alan 提交者: Jeff Garzik

[PATCH] pata : more drivers that need only standard suspend and resume

Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 aa54ab1e
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_pdc202xx_old" #define DRV_NAME "pata_pdc202xx_old"
#define DRV_VERSION "0.2.2" #define DRV_VERSION "0.2.3"
/** /**
* pdc2024x_pre_reset - probe begin * pdc2024x_pre_reset - probe begin
...@@ -271,6 +271,8 @@ static struct scsi_host_template pdc202xx_sht = { ...@@ -271,6 +271,8 @@ static struct scsi_host_template pdc202xx_sht = {
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy, .slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
.resume = ata_scsi_device_resume,
.suspend = ata_scsi_device_suspend,
}; };
static struct ata_port_operations pdc2024x_port_ops = { static struct ata_port_operations pdc2024x_port_ops = {
...@@ -400,7 +402,9 @@ static struct pci_driver pdc202xx_pci_driver = { ...@@ -400,7 +402,9 @@ static struct pci_driver pdc202xx_pci_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = pdc202xx, .id_table = pdc202xx,
.probe = pdc202xx_init_one, .probe = pdc202xx_init_one,
.remove = ata_pci_remove_one .remove = ata_pci_remove_one,
.suspend = ata_pci_device_suspend,
.resume = ata_pci_device_resume,
}; };
static int __init pdc202xx_init(void) static int __init pdc202xx_init(void)
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/ata.h> #include <linux/ata.h>
#define DRV_NAME "pata_sis" #define DRV_NAME "pata_sis"
#define DRV_VERSION "0.4.4" #define DRV_VERSION "0.4.5"
struct sis_chipset { struct sis_chipset {
u16 device; /* PCI host ID */ u16 device; /* PCI host ID */
...@@ -547,6 +547,8 @@ static struct scsi_host_template sis_sht = { ...@@ -547,6 +547,8 @@ static struct scsi_host_template sis_sht = {
.slave_configure = ata_scsi_slave_config, .slave_configure = ata_scsi_slave_config,
.slave_destroy = ata_scsi_slave_destroy, .slave_destroy = ata_scsi_slave_destroy,
.bios_param = ata_std_bios_param, .bios_param = ata_std_bios_param,
.resume = ata_scsi_device_resume,
.suspend = ata_scsi_device_suspend,
}; };
static const struct ata_port_operations sis_133_ops = { static const struct ata_port_operations sis_133_ops = {
...@@ -1000,6 +1002,8 @@ static struct pci_driver sis_pci_driver = { ...@@ -1000,6 +1002,8 @@ static struct pci_driver sis_pci_driver = {
.id_table = sis_pci_tbl, .id_table = sis_pci_tbl,
.probe = sis_init_one, .probe = sis_init_one,
.remove = ata_pci_remove_one, .remove = ata_pci_remove_one,
.suspend = ata_pci_device_suspend,
.resume = ata_pci_device_resume,
}; };
static int __init sis_init(void) static int __init sis_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册