11 #include <linux/kernel.h>
12 #include <linux/module.h>
13 #include <linux/pci.h>
20 #define DRV_NAME "pata_cypress"
21 #define DRV_VERSION "0.1.5"
56 const unsigned long T = 1000000 / 33;
57 short time_16, time_8;
70 if (adev->
devno == 0) {
119 .inherits = &ata_bmdma_port_ops,
121 .set_piomode = cy82c693_set_piomode,
122 .set_dmamode = cy82c693_set_dmamode,
131 .port_ops = &cy82c693_port_ops
141 return ata_pci_bmdma_init_one(pdev, ppi, &cy82c693_sht,
NULL, 0);
150 static struct pci_driver cy82c693_pci_driver = {
152 .id_table = cy82c693,
153 .probe = cy82c693_init_one,
154 .remove = ata_pci_remove_one,
156 .suspend = ata_pci_device_suspend,
157 .resume = ata_pci_device_resume,