#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 j44(a, b) …
#define P1 …
#define P2 …
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)
{ … }
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(…);