linux/drivers/uio/uio_cif.c

// SPDX-License-Identifier: GPL-2.0
/*
 * UIO Hilscher CIF card driver
 *
 * (C) 2007 Hans J. Koch <[email protected]>
 * Original code (C) 2005 Benedikt Spranger <[email protected]>
 */

#include <linux/device.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/uio_driver.h>

#include <asm/io.h>

#define PLX9030_INTCSR
#define INTSCR_INT1_ENABLE
#define INTSCR_INT1_STATUS
#define INT1_ENABLED_AND_ACTIVE

#define PCI_SUBVENDOR_ID_PEP
#define CIF_SUBDEVICE_PROFIBUS
#define CIF_SUBDEVICE_DEVICENET


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

static int hilscher_pci_probe(struct pci_dev *dev,
					const struct pci_device_id *id)
{}

static void hilscher_pci_remove(struct pci_dev *dev)
{}

static struct pci_device_id hilscher_pci_ids[] =;

static struct pci_driver hilscher_pci_driver =;

module_pci_driver();
MODULE_DEVICE_TABLE(pci, hilscher_pci_ids);
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_AUTHOR();