linux/drivers/atm/adummy.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * adummy.c: a dummy ATM driver
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/uaccess.h>

#include <linux/atmdev.h>
#include <linux/atm.h>
#include <linux/sonet.h>

/* version definition */

#define DRV_VERSION

#define DEV_LABEL

#define ADUMMY_DEV(dev)

struct adummy_dev {};

/* globals */

static LIST_HEAD(adummy_devs);

static ssize_t __set_signal(struct device *dev,
		struct device_attribute *attr,
		const char *buf, size_t len)
{}

static ssize_t __show_signal(struct device *dev,
	struct device_attribute *attr, char *buf)
{}
static DEVICE_ATTR(signal, 0644, __show_signal, __set_signal);

static struct attribute *adummy_attrs[] =;

static const struct attribute_group adummy_group_attrs =;

static int __init
adummy_start(struct atm_dev *dev)
{}

static int
adummy_open(struct atm_vcc *vcc)
{}

static void
adummy_close(struct atm_vcc *vcc)
{}

static int
adummy_send(struct atm_vcc *vcc, struct sk_buff *skb)
{}

static int
adummy_proc_read(struct atm_dev *dev, loff_t *pos, char *page)
{}

static const struct atmdev_ops adummy_ops =;

static int __init adummy_init(void)
{}

static void __exit adummy_cleanup(void)
{}

module_init();
module_exit(adummy_cleanup);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();