#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 "paride.h"
Go to the source code of this file.
|
#define | EPAT_VERSION "1.02" |
|
#define | j44(a, b) (((a>>4)&0x0f)+(b&0xf0)) |
|
#define | j53(a, b) (((a>>3)&0x1f)+((b<<4)&0xe0)) |
|
#define | WR(r, v) epat_write_regr(pi,2,r,v) |
|
#define | RR(r) (epat_read_regr(pi,2,r)) |
|
#define | WRi(r, v) epat_write_regr(pi,0,r,v) |
|
#define | RRi(r) (epat_read_regr(pi,0,r)) |
|
#define | CPP(x) |
|
Value:
Definition at line 210 of file epat.c.
#define EPAT_VERSION "1.02" |
#define j44 |
( |
|
a, |
|
|
|
b |
|
) |
| (((a>>4)&0x0f)+(b&0xf0)) |
#define j53 |
( |
|
a, |
|
|
|
b |
|
) |
| (((a>>3)&0x1f)+((b<<4)&0xe0)) |
#define RR |
( |
|
r | ) |
(epat_read_regr(pi,2,r)) |
#define RRi |
( |
|
r | ) |
(epat_read_regr(pi,0,r)) |
#define WR |
( |
|
r, |
|
|
|
v |
|
) |
| epat_write_regr(pi,2,r,v) |
#define WRi |
( |
|
r, |
|
|
|
v |
|
) |
| epat_write_regr(pi,0,r,v) |
module_param |
( |
epatc8 |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
epatc8 |
, |
|
|
"support for the Shuttle EP1284 |
chip, |
|
|
""used in any recent Imation SuperDisk(LS-120) drive." |
|
|
) |
| |