7 #include <linux/kernel.h>
8 #include <linux/module.h>
13 #include <linux/device.h>
18 #define DRV_NAME "pata_netcell"
19 #define DRV_VERSION "0.1.7"
23 static unsigned int netcell_read_id(
struct ata_device *adev,
38 .inherits = &ata_bmdma_port_ops,
40 .read_id = netcell_read_id,
67 .port_ops = &netcell_ops,
79 ata_pci_bmdma_clear_simplex(pdev);
82 return ata_pci_bmdma_init_one(pdev, port_info, &netcell_sht,
NULL, 0);
91 static struct pci_driver netcell_pci_driver = {
93 .id_table = netcell_pci_tbl,
94 .probe = netcell_init_one,
95 .remove = ata_pci_remove_one,
97 .suspend = ata_pci_device_suspend,
98 .resume = ata_pci_device_resume,