linux/drivers/uio/uio_aec.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * uio_aec.c -- simple driver for Adrienne Electronics Corp time code PCI device
 *
 * Copyright (C) 2008 Brandon Philips <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/cdev.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/uio_driver.h>
#include <linux/slab.h>

#define PCI_VENDOR_ID_AEC
#define PCI_DEVICE_ID_AEC_VITCLTC

#define INT_ENABLE_ADDR
#define INT_ENABLE
#define INT_DISABLE

#define INT_MASK_ADDR
#define INT_MASK_ALL

#define INTA_DRVR_ADDR
#define INTA_ENABLED_FLAG
#define INTA_FLAG

#define MAILBOX

static struct pci_device_id ids[] =;
MODULE_DEVICE_TABLE(pci, ids);

static irqreturn_t aectc_irq(int irq, struct uio_info *dev_info)
{}

static void print_board_data(struct pci_dev *pdev, struct uio_info *i)
{}

static int probe(struct pci_dev *pdev, const struct pci_device_id *id)
{}

static void remove(struct pci_dev *pdev)
{}

static struct pci_driver pci_driver =;

module_pci_driver();
MODULE_DESCRIPTION();
MODULE_LICENSE();