12 #include <linux/kernel.h>
13 #include <linux/module.h>
14 #include <linux/pci.h>
18 #include <linux/device.h>
25 #define DRV_NAME "phison_e-box"
26 #define DRV_VERSION "0.91"
28 #define PCI_VENDOR_ID_PHISON 0x1987
29 #define PCI_DEVICE_ID_PS5000 0x5000
31 static int phison_pre_reset(
struct ata_link *
link,
unsigned long deadline)
38 dev_dbg(ap->
dev,
"phison_pre_reset(), ret = %x\n", ret);
47 .inherits = &ata_bmdma_port_ops,
48 .prereset = phison_pre_reset,
61 .port_ops = &phison_ops,
65 ret = ata_pci_bmdma_init_one(pdev, ppi, &phison_sht,
NULL, 0);
67 dev_dbg(&pdev->
dev,
"phison_init_one(), ret = %x\n", ret);
81 .id_table = phison_pci_tbl,
82 .probe = phison_init_one,
83 .remove = ata_pci_remove_one,
85 .suspend = ata_pci_device_suspend,
86 .resume = ata_pci_device_resume,