#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>
#include <linux/ata.h>
#define DRV_NAME …
#define DRV_VERSION …
static int marvell_pata_active(struct pci_dev *pdev)
{ … }
static int marvell_pre_reset(struct ata_link *link, unsigned long deadline)
{ … }
static int marvell_cable_detect(struct ata_port *ap)
{ … }
static const struct scsi_host_template marvell_sht = …;
static struct ata_port_operations marvell_ops = …;
static int marvell_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static const struct pci_device_id marvell_pci_tbl[] = …;
static struct pci_driver marvell_pci_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_DEVICE_TABLE(pci, marvell_pci_tbl);
MODULE_VERSION(…);