linux/drivers/ata/pata_parport/epia.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1997-1998  Grant R. Guenther <[email protected]>
 *
 * epia.c is a low-level protocol driver for Shuttle Technologies
 * EPIA parallel to IDE adapter chip.  This device is now obsolete
 * and has been replaced with the EPAT chip, which is supported
 * by epat.c, however, some devices based on EPIA are still
 * available.
 */

#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"

/*
 * mode codes:  0  nybble reads on port 1, 8-bit writes
 *		1  5/3 reads on ports 1 & 2, 8-bit writes
 *		2  8-bit reads and writes
 *		3  8-bit EPP mode
 *		4  16-bit EPP
 *		5  32-bit EPP
 */

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

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

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

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

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

/*
 * The use of register 0x84 is entirely unclear - it seems to control
 * some EPP counters ...  currently we know about 3 different block
 * sizes:  the standard 512 byte reads and writes, 12 byte writes and
 * 2048 byte reads (the last two being used in the CDrom drivers.
 */
static void epia_connect(struct pi_adapter *pi)
{}

static void epia_disconnect(struct pi_adapter *pi)
{}

static void epia_read_block(struct pi_adapter *pi, char *buf, int count)

{}

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

static int epia_test_proto(struct pi_adapter *pi)
{}


static void epia_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol epia =;

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