linux/drivers/ata/pata_parport/bpck.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1996-1998  Grant R. Guenther <[email protected]>
 *
 * bpck.c is a low-level protocol driver for the MicroSolutions
 * "backpack" parallel port IDE 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"

#undef r2
#undef w2
#undef PC

#define PC
#define r2()
#define w2(byte)
#define t2(pat)
#define e2()
#define o2()

#define j44(l,h)

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

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

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

/* These macros access the bpck registers in native addressing */

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

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

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

static int bpck_probe_unit(struct pi_adapter *pi)
{}

static void bpck_connect(struct pi_adapter *pi)
{}

static void bpck_disconnect(struct pi_adapter *pi)
{}

static void bpck_force_spp(struct pi_adapter *pi)
{}

#define TEST_LEN

static int bpck_test_proto(struct pi_adapter *pi)
{}

static void bpck_read_eeprom(struct pi_adapter *pi, char *buf)
{}

static int bpck_test_port(struct pi_adapter *pi)
{}

static void bpck_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol bpck =;

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