pata : more drivers that need only standard suspend and resume
PATCH 1/1 pata : more drivers that need only standard suspend and resume
Signed-off-by Alan Cox <[email protected]>
drivers/ata/pata_pdc202xx_old.c +6 -2
@@ -21,7 +21,7 @@#include <linux/libata.h> #define DRV_NAME "pata_pdc202xx_old" -#define DRV_VERSION "0.2.2" +#define DRV_VERSION "0.2.3"/** * pdc2024x_pre_reset - probe begin
@@ -270,6 +270,8 @@ .dma_boundary = ATA_DMA_BOUNDARY, .slave_configure = ata_scsi_slave_config, .bios_param = ata_std_bios_param, + .resume = ata_scsi_device_resume, + .suspend = ata_scsi_device_suspend, };static struct ata_port_operations pdc2024x_port_ops = {
@@ -399,7 +401,9 @@ .name = DRV_NAME, .id_table = pdc202xx, .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 )
drivers/ata/pata_sis.c +5 -1
@@ -34,7 +34,7 @@#include <linux/ata.h> #define DRV_NAME "pata_sis" -#define DRV_VERSION "0.4.4" +#define DRV_VERSION "0.4.5"struct sis_chipset {u16 device;/* PCI host ID */
@@ -546,6 +546,8 @@ .dma_boundary = ATA_DMA_BOUNDARY, .slave_configure = ata_scsi_slave_config, .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 = {
@@ -999,6 +1001,8 @@ .id_table = sis_pci_tbl, .probe = sis_init_one, .remove = ata_pci_remove_one, + .suspend = ata_pci_device_suspend, + .resume = ata_pci_device_resume, };static int __init sis_init (void )