linux/drivers/ata/pata_parport/bpck6.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (c) 2001 Micro Solutions Inc.
 *
 * backpack.c is a low-level protocol driver for the Micro Solutions
 * "BACKPACK" parallel port IDE adapter (works on Series 6 drives).
 *
 * Written by: Ken Hahn ([email protected])
 *             Clive Turvey ([email protected])
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/parport.h>
#include "pata_parport.h"

/* 60772 Commands */
#define ACCESS_REG
#define ACCESS_PORT

#define ACCESS_READ
#define ACCESS_WRITE

/* 60772 Command Prefix */
#define CMD_PREFIX_SET
#define CMD_PREFIX_RESET
 #define PREFIX_IO16
 #define PREFIX_FASTWR
 #define PREFIX_BLK

/* 60772 Registers */
#define REG_STATUS
 #define STATUS_IRQA
 #define STATUS_EEPROM_DO
#define REG_VERSION
#define REG_HWCFG
#define REG_RAMSIZE
 #define RAMSIZE_128K
#define REG_EEPROM
 #define EEPROM_SK
 #define EEPROM_DI
 #define EEPROM_CS
 #define EEPROM_EN
#define REG_BLKSIZE

/* flags */
#define fifo_wait

/* DONT CHANGE THESE LEST YOU BREAK EVERYTHING - BIT FIELD DEPENDENCIES */
#define PPCMODE_UNI_SW
#define PPCMODE_UNI_FW
#define PPCMODE_BI_SW
#define PPCMODE_BI_FW
#define PPCMODE_EPP_BYTE
#define PPCMODE_EPP_WORD
#define PPCMODE_EPP_DWORD

static int mode_map[] =;

static void bpck6_send_cmd(struct pi_adapter *pi, u8 cmd)
{}

static u8 bpck6_rd_data_byte(struct pi_adapter *pi)
{}

static void bpck6_wr_data_byte(struct pi_adapter *pi, u8 data)
{}

static int bpck6_read_regr(struct pi_adapter *pi, int cont, int reg)
{}

static void bpck6_write_regr(struct pi_adapter *pi, int cont, int reg, int val)
{}

static void bpck6_wait_for_fifo(struct pi_adapter *pi)
{}

static void bpck6_write_block(struct pi_adapter *pi, char *buf, int len)
{}

static void bpck6_read_block(struct pi_adapter *pi, char *buf, int len)
{}

static int bpck6_open(struct pi_adapter *pi)
{}

static void bpck6_deselect(struct pi_adapter *pi)
{}

static void bpck6_wr_extout(struct pi_adapter *pi, u8 regdata)
{}

static void bpck6_connect(struct pi_adapter *pi)
{}

static void bpck6_disconnect(struct pi_adapter *pi)
{}

/* check for 8-bit port */
static int bpck6_test_port(struct pi_adapter *pi)
{}

static int bpck6_probe_unit(struct pi_adapter *pi)
{}

static void bpck6_log_adapter(struct pi_adapter *pi)
{}

static struct pi_protocol bpck6 =;

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