linux/drivers/ata/sata_uli.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  sata_uli.c - ULi Electronics SATA
 *
 *  libata documentation is available via 'make {ps|pdf}docs',
 *  as Documentation/driver-api/libata.rst
 *
 *  Hardware documentation available under NDA.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/pci.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <linux/libata.h>

#define DRV_NAME
#define DRV_VERSION

enum {};

struct uli_priv {};

static int uli_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
static int uli_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val);
static int uli_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val);

static const struct pci_device_id uli_pci_tbl[] =;

static struct pci_driver uli_pci_driver =;

static const struct scsi_host_template uli_sht =;

static struct ata_port_operations uli_ops =;

static const struct ata_port_info uli_port_info =;


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

static unsigned int get_scr_cfg_addr(struct ata_port *ap, unsigned int sc_reg)
{}

static u32 uli_scr_cfg_read(struct ata_link *link, unsigned int sc_reg)
{}

static void uli_scr_cfg_write(struct ata_link *link, unsigned int scr, u32 val)
{}

static int uli_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val)
{}

static int uli_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val)
{}

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

module_pci_driver();