#include <linux/module.h>
#include <linux/fd.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/mutex.h>
#include <asm/atafd.h>
#include <asm/atafdreg.h>
#include <asm/atariints.h>
#include <asm/atari_stdma.h>
#include <asm/atari_stram.h>
Go to the source code of this file.
|
struct | atari_disk_type |
|
struct | atari_floppy_struct |
|
#define CHECK_CHANGE_DELAY HZ/2 |
#define FD_MOTOR_OFF_DELAY (3*HZ) |
#define FD_MOTOR_OFF_MAXTRY (10*20) |
Value:({ \
\
\
dma_wd.dma_mode_status = 0x80 | (
reg); \
udelay(25); \
__val =
dma_wd.fdc_acces_seccount; \
MFPDELAY(); \
\
__val & 0xff; \
})
Definition at line 230 of file ataflop.c.
#define FDC_WRITE |
( |
|
reg, |
|
|
|
val |
|
) |
| |
Value:do { \
\
\
dma_wd.dma_mode_status = 0x80 | (
reg); \
udelay(25); \
dma_wd.fdc_acces_seccount = (
val); \
MFPDELAY(); \
\
} while(0)
Definition at line 242 of file ataflop.c.
#define FLOPPY_TIMEOUT (6*HZ) |
#define IS_BUFFERED |
( |
|
drive, |
|
|
|
side, |
|
|
|
track |
|
) |
| (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track)) |
#define MAX_DISK_SIZE 3280 |
#define NUM_DISK_MINORS ARRAY_SIZE(minor2disktype) |
#define RECALIBRATE_ERRORS |
#define SET_IRQ_HANDLER |
( |
|
proc | ) |
do { FloppyIRQHandler = (proc); } while(0) |
#define SUD unit[SelectedDrive] |
#define SUDT unit[SelectedDrive].disktype |
#define UDT unit[drive].disktype |
module_param |
( |
UseTrackbuffer |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
UserSteprate |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
unsigned char* TrackBuffer |