#ifndef _ASM_X86_FLOPPY_H
#define _ASM_X86_FLOPPY_H
#include <linux/vmalloc.h>
#define _CROSS_64KB(a, s, vdma) …
#define CROSS_64KB(a, s) …
#define SW …
#define CSW …
#define fd_inb(base, reg) …
#define fd_outb(value, base, reg) …
#define fd_request_dma() …
#define fd_free_dma() …
#define fd_enable_irq() …
#define fd_disable_irq() …
#define fd_free_irq() …
#define fd_get_dma_residue() …
#define fd_dma_mem_alloc(size) …
#define fd_dma_setup(addr, size, mode, io) …
#define FLOPPY_CAN_FALLBACK_ON_NODMA
static int virtual_dma_count;
static int virtual_dma_residue;
static char *virtual_dma_addr;
static int virtual_dma_mode;
static int doing_pdma;
static irqreturn_t floppy_hardint(int irq, void *dev_id)
{ … }
static void fd_disable_dma(void)
{ … }
static int vdma_request_dma(unsigned int dmanr, const char *device_id)
{ … }
static void vdma_nop(unsigned int dummy)
{ … }
static int vdma_get_dma_residue(unsigned int dummy)
{ … }
static int fd_request_irq(void)
{ … }
static unsigned long dma_mem_alloc(unsigned long size)
{ … }
static unsigned long vdma_mem_alloc(unsigned long size)
{ … }
#define nodma_mem_alloc(size) …
static void _fd_dma_mem_free(unsigned long addr, unsigned long size)
{ … }
#define fd_dma_mem_free(addr, size) …
static void _fd_chose_dma_mode(char *addr, unsigned long size)
{ … }
#define fd_chose_dma_mode(addr, size) …
static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)
{ … }
static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
{ … }
static struct fd_routine_l { … } fd_routine[] = …;
static int FDC1 = …;
static int FDC2 = …;
#define FLOPPY0_TYPE …
#define FLOPPY1_TYPE …
#define N_FDC …
#define N_DRIVE …
#define EXTRA_FLOPPY_PARAMS
#endif