#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/parport.h>
#include <linux/parport_pc.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/8250_pci.h>
enum parport_pc_pci_cards { … };
struct parport_pc_pci { … };
static int netmos_parallel_init(struct pci_dev *dev, struct parport_pc_pci *par,
int autoirq, int autodma)
{ … }
static struct parport_pc_pci cards[] = …;
static struct pci_device_id parport_serial_pci_tbl[] = …;
MODULE_DEVICE_TABLE(pci,parport_serial_pci_tbl);
static struct pciserial_board pci_parport_serial_boards[] = …;
struct parport_serial_private { … };
static int serial_register(struct pci_dev *dev, const struct pci_device_id *id)
{ … }
static int parport_register(struct pci_dev *dev, const struct pci_device_id *id)
{ … }
static int parport_serial_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static void parport_serial_pci_remove(struct pci_dev *dev)
{ … }
static int __maybe_unused parport_serial_pci_suspend(struct device *dev)
{ … }
static int __maybe_unused parport_serial_pci_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(parport_serial_pm_ops,
parport_serial_pci_suspend, parport_serial_pci_resume);
static struct pci_driver parport_serial_pci_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;