linux/drivers/ata/pata_parport/kbic.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1997-1998  Grant R. Guenther <[email protected]>
 *
 * This is a low-level driver for the KBIC-951A and KBIC-971A
 * parallel to IDE adapter chips from KingByte Information Systems.
 *
 * The chips are almost identical, however, the wakeup code
 * required for the 971A interferes with the correct operation of
 * the 951A, so this driver registers itself twice, once for
 * each 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"

#define r12w()

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


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

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

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

static void k951_connect(struct pi_adapter *pi)
{}

static void k951_disconnect(struct pi_adapter *pi)
{}

#define CCP(x)

static void k971_connect(struct pi_adapter *pi)
{}

static void k971_disconnect(struct pi_adapter *pi)
{}

/*
 * count must be congruent to 0 MOD 4, but all known applications
 *have this property.
 */
static void kbic_read_block(struct pi_adapter *pi, char *buf, int count)
{}

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

static void kbic_log_adapter(struct pi_adapter *pi, char *chip)
{}

static void k951_log_adapter(struct pi_adapter *pi)
{}

static void k971_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol k951 =;

static struct pi_protocol k971 =;

static int __init kbic_init(void)
{}

static void __exit kbic_exit(void)
{}

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