linux/drivers/ata/pata_parport/on26.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1997-1998  Grant R. Guenther <[email protected]>
 *
 * on26.c is a low-level protocol driver for the
 * OnSpec 90c26 parallel to IDE adapter chip.
 */

#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, 8-bit writes
 *		1  8-bit reads and writes
 *		2  8-bit EPP mode
 *		3  EPP-16
 *		4  EPP-32
 */

#define j44(a, b)

#define P1

#define P2

/*
 * cont = 0 - access the IDE register file
 * cont = 1 - access the IDE command set
 */

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

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

#define CCP(x)

static void on26_connect(struct pi_adapter *pi)
{}

static void on26_disconnect(struct pi_adapter *pi)
{}

#define RESET_WAIT

/* hard reset */
static int on26_test_port(struct pi_adapter *pi)
{}

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

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

static void on26_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol on26 =;

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