linux/drivers/ata/pata_parport/epat.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1997-1998  Grant R. Guenther <[email protected]>
 *
 * This is the low level protocol driver for the EPAT parallel
 * to IDE adapter from Shuttle Technologies.  This adapter is
 * used in many popular parallel port disk products such as the
 * SyQuest EZ drives, the Avatar Shark and the Imation SuperDisk.
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/wait.h>
#include <asm/io.h>
#include "pata_parport.h"

#define j44(a, b)
#define j53(a, b)

static int epatc8;

module_param(epatc8, int, 0);
MODULE_PARM_DESC();

/*
 * cont =  0   IDE register file
 * cont =  1   IDE control registers
 * cont =  2   internal EPAT registers
 */
static int cont_map[3] =;

static void epat_write_regr(struct pi_adapter *pi, int cont, int regr, int val)
{}

static int epat_read_regr(struct pi_adapter *pi, int cont, int regr)
{}

static void epat_read_block(struct pi_adapter *pi, char *buf, int count)
{}

static void epat_write_block(struct pi_adapter *pi, char *buf, int count)
{}

/* these macros access the EPAT registers in native addressing */

#define WR(r, v)
#define RR(r)

/* and these access the IDE task file */

#define WRi(r, v)
#define RRi(r)

/* FIXME:  the CPP stuff should be fixed to handle multiple EPATs on a chain */

#define CPP(x)

static void epat_connect(struct pi_adapter *pi)
{}

static void epat_disconnect(struct pi_adapter *pi)
{}

static int epat_test_proto(struct pi_adapter *pi)
{}

static void epat_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol epat =;

static int __init epat_init(void)
{}

static void __exit epat_exit(void)
{}

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
module_init()
module_exit()