#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/isapnp.h>
#include <linux/blkdev.h>
#include <linux/slab.h>
#include <asm/dma.h>
#include <asm/io.h>
#include "scsi.h"
#include <scsi/scsi_host.h>
#include "aha1542.h"
#include <linux/stat.h>
#include "scsi_module.c"
Go to the source code of this file.
#define BIOS_TRANSLATION_1632 0 /* Used by some old 1542A boards */ |
#define BIOS_TRANSLATION_25563 2 /* Big disk case */ |
#define BIOS_TRANSLATION_6432 1 /* Default case these days */ |
#define WAIT |
( |
|
port, |
|
|
|
mask, |
|
|
|
allof, |
|
|
|
noneof |
|
) |
| |
Value:{ register int WAITbits; \
while (1) { \
if ((WAITbits & (allof)) == (allof) && ((WAITbits & (noneof)) == 0)) \
break; \
if (--WAITtimeout == 0) goto fail; \
} \
}
Definition at line 149 of file aha1542.c.
Value:{ register int WAITbits; \
register
int WAITtimeout =
timeout; \
while (1) { \
if ((WAITbits & (allof)) == (allof) && ((WAITbits & (noneof)) == 0)) \
break; \
mdelay(1); \
if (--WAITtimeout == 0) goto fail; \
} \
}
Definition at line 162 of file aha1542.c.
#define WAITnexttimeout 3000000 |