linux/drivers/ata/pata_parport/comm.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1997-1998  Grant R. Guenther <[email protected]>
 *
 * comm.c is a low-level protocol driver for some older models of the DataStor
 * "Commuter" parallel to IDE adapter. Some of the parallel port devices
 * marketed by Arista currently use this adapter.
 */

#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
 */

#define j44(a, b)

#define P1
#define P2

/*
 * cont = 0 - access the IDE register file
 * cont = 1 - access the IDE command set
 */
static int  cont_map[2] =;

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

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

static void comm_connect(struct pi_adapter *pi)
{}

static void comm_disconnect(struct pi_adapter *pi)
{}

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

/* NB: Watch out for the byte swapped writes ! */
static void comm_write_block(struct pi_adapter *pi, char *buf, int count)
{}

static void comm_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol comm =;

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