linux/drivers/ata/acard-ahci.c

// SPDX-License-Identifier: GPL-2.0-or-later

/*
 *  acard-ahci.c - ACard AHCI SATA support
 *
 *  Maintained by:  Tejun Heo <[email protected]>
 *		    Please ALWAYS copy [email protected]
 *		    on emails.
 *
 *  Copyright 2010 Red Hat, Inc.
 *
 * libata documentation is available via 'make {ps|pdf}docs',
 * as Documentation/driver-api/libata.rst
 *
 * AHCI hardware documentation:
 * http://www.intel.com/technology/serialata/pdf/rev1_0.pdf
 * http://www.intel.com/technology/serialata/pdf/rev1_1.pdf
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
#include <linux/dmi.h>
#include <linux/gfp.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>
#include <linux/libata.h>
#include "ahci.h"

#define DRV_NAME
#define DRV_VERSION

/*
  Received FIS structure limited to 80h.
*/

#define ACARD_AHCI_RX_FIS_SZ

enum {};

enum board_ids {};

struct acard_sg {};

static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc);
static void acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc);
static int acard_ahci_port_start(struct ata_port *ap);
static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);

#ifdef CONFIG_PM_SLEEP
static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
static int acard_ahci_pci_device_resume(struct pci_dev *pdev);
#endif

static const struct scsi_host_template acard_ahci_sht =;

static struct ata_port_operations acard_ops =;

#define AHCI_HFLAGS(flags)

static const struct ata_port_info acard_ahci_port_info[] =;

static const struct pci_device_id acard_ahci_pci_tbl[] =;

static struct pci_driver acard_ahci_pci_driver =;

#ifdef CONFIG_PM_SLEEP
static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg)
{}

static int acard_ahci_pci_device_resume(struct pci_dev *pdev)
{}
#endif

static void acard_ahci_pci_print_info(struct ata_host *host)
{}

static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl)
{}

static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc)
{}

static void acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc)
{}

static int acard_ahci_port_start(struct ata_port *ap)
{}

static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{}

module_pci_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl);
MODULE_VERSION();