#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>
#define DRV_NAME …
#define DRV_VERSION …
static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline)
{ … }
static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev)
{ … }
static unsigned int ns87410_qc_issue(struct ata_queued_cmd *qc)
{ … }
static const struct scsi_host_template ns87410_sht = …;
static struct ata_port_operations ns87410_port_ops = …;
static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{ … }
static const struct pci_device_id ns87410[] = …;
static struct pci_driver ns87410_pci_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_DEVICE_TABLE(pci, ns87410);
MODULE_VERSION(…);