#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/genhd.h>
#include <linux/cdrom.h>
#include <linux/ide.h>
#include <linux/hdreg.h>
#include <linux/bitops.h>
#include <linux/mutex.h>
#include <linux/scatterlist.h>
#include <scsi/scsi_ioctl.h>
#include <asm/byteorder.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <asm/unaligned.h>
#include "ide-floppy.h"
Go to the source code of this file.
#define CAPACITY_CURRENT 0x02 |
#define CAPACITY_INVALID 0x00 |
#define CAPACITY_NO_CARTRIDGE 0x03 |
#define CAPACITY_UNFORMATTED 0x01 |
#define IDEFLOPPY_MAX_PC_RETRIES 3 |
#define IDEFLOPPY_PC_DELAY (HZ/20) /* default delay for ZIP 100 (50ms) */ |
Initial value:= {
.get_capacity = ide_floppy_get_capacity,
.setup = ide_floppy_setup,
.flush = ide_floppy_flush,
.init_media = ide_floppy_init_media,
.do_request = ide_floppy_do_request,
}
Definition at line 533 of file ide-floppy.c.