linux/drivers/input/serio/ct82c710.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (c) 1999-2001 Vojtech Pavlik
 */

/*
 *  82C710 C&T mouse port chip driver for Linux
 */

#include <linux/delay.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/serio.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/slab.h>

#include <asm/io.h>

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

/*
 * ct82c710 interface
 */

#define CT82C710_DEV_IDLE
#define CT82C710_RX_FULL
#define CT82C710_TX_IDLE
#define CT82C710_RESET
#define CT82C710_INTS_ON
#define CT82C710_ERROR_FLAG
#define CT82C710_CLEAR
#define CT82C710_ENABLE

#define CT82C710_IRQ

#define CT82C710_DATA
#define CT82C710_STATUS

static struct serio *ct82c710_port;
static struct platform_device *ct82c710_device;
static struct resource ct82c710_iores;

/*
 * Interrupt handler for the 82C710 mouse port. A character
 * is waiting in the 82C710.
 */

static irqreturn_t ct82c710_interrupt(int cpl, void *dev_id)
{}

/*
 * Wait for device to send output char and flush any input char.
 */

static int ct82c170_wait(void)
{}

static void ct82c710_close(struct serio *serio)
{}

static int ct82c710_open(struct serio *serio)
{}

/*
 * Write to the 82C710 mouse device.
 */

static int ct82c710_write(struct serio *port, unsigned char c)
{}

/*
 * See if we can find a 82C710 device. Read mouse address.
 */

static int __init ct82c710_detect(void)
{}

static int ct82c710_probe(struct platform_device *dev)
{}

static void ct82c710_remove(struct platform_device *dev)
{}

static struct platform_driver ct82c710_driver =;


static int __init ct82c710_init(void)
{}

static void __exit ct82c710_exit(void)
{}

module_init();
module_exit(ct82c710_exit);