linux/drivers/ata/pata_parport/friq.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 1998    Grant R. Guenther <[email protected]>
 *
 * friq.c is a low-level protocol driver for the Freecom "IQ"
 * parallel port IDE adapter.   Early versions of this adapter
 * use the 'frpw' protocol.
 *
 * Freecom uses this adapter in a battery powered external
 * CD-ROM drive.  It is also used in LS-120 drives by
 * Maxell and Panasonic, and other devices.
 *
 * The battery powered drive requires software support to
 * control the power to the drive.  This module enables the
 * drive power when the high level driver (pcd) is loaded
 * and disables it when the module is unloaded.  Note, if
 * the friq module is built in to the kernel, the power
 * will never be switched off, so other means should be
 * used to conserve battery power.
 */

#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 CMD(x)

#define j44(l, h)

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

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

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

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

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

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

static void friq_connect(struct pi_adapter *pi)
{}

static void friq_disconnect(struct pi_adapter *pi)
{}

static int friq_test_proto(struct pi_adapter *pi)
{}

static void friq_log_adapter(struct pi_adapter *pi)
{}

static void friq_release_proto(struct pi_adapter *pi)
{}

static struct pi_protocol friq =;

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