Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
floppy.h File Reference
#include <asm/io.h>
#include <linux/vmalloc.h>
#include <asm/sun3xflop.h>

Go to the source code of this file.

Macros

#define MAX_DMA_ADDRESS   0x00 /* nothing like that */
 
#define FLOPPY0_TYPE   (MACH_IS_Q40 ? 6 : 4)
 
#define FLOPPY1_TYPE   0
 
#define FDC1   m68k_floppy_init()
 
#define N_FDC   1
 
#define N_DRIVE   8
 
#define fd_request_dma()   vdma_request_dma(FLOPPY_DMA,"floppy")
 
#define fd_get_dma_residue()   vdma_get_dma_residue(FLOPPY_DMA)
 
#define fd_dma_mem_alloc(size)   vdma_mem_alloc(size)
 
#define fd_dma_setup(addr, size, mode, io)   vdma_dma_setup(addr, size, mode, io)
 
#define fd_enable_irq()   /* nothing... */
 
#define fd_disable_irq()   /* nothing... */
 
#define fd_free_dma()   /* nothing */
 
#define CROSS_64KB(a, s)   (0)
 
#define DMA_MODE_READ   0x44 /* i386 look-alike */
 
#define DMA_MODE_WRITE   0x48
 
#define fd_dma_mem_free(addr, size)   _fd_dma_mem_free(addr, size)
 
#define NO_FLOPPY_ASSEMBLER
 
#define EXTRA_FLOPPY_PARAMS
 

Functions

asmlinkage irqreturn_t floppy_hardint (int irq, void *dev_id)
 

Variables

spinlock_t dma_spin_lock
 

Macro Definition Documentation

#define CROSS_64KB (   a,
  s 
)    (0)

Definition at line 111 of file floppy.h.

#define DMA_MODE_READ   0x44 /* i386 look-alike */

Definition at line 113 of file floppy.h.

#define DMA_MODE_WRITE   0x48

Definition at line 114 of file floppy.h.

#define EXTRA_FLOPPY_PARAMS

Definition at line 254 of file floppy.h.

#define fd_disable_irq (   void)    /* nothing... */

Definition at line 106 of file floppy.h.

#define fd_dma_mem_alloc (   size)    vdma_mem_alloc(size)

Definition at line 102 of file floppy.h.

#define fd_dma_mem_free (   addr,
  size 
)    _fd_dma_mem_free(addr, size)

Definition at line 154 of file floppy.h.

#define fd_dma_setup (   addr,
  size,
  mode,
  io 
)    vdma_dma_setup(addr, size, mode, io)

Definition at line 103 of file floppy.h.

#define fd_enable_irq (   void)    /* nothing... */

Definition at line 105 of file floppy.h.

#define fd_free_dma (   void)    /* nothing */

Definition at line 108 of file floppy.h.

#define fd_get_dma_residue (   void)    vdma_get_dma_residue(FLOPPY_DMA)

Definition at line 101 of file floppy.h.

#define fd_request_dma (   void)    vdma_request_dma(FLOPPY_DMA,"floppy")

Definition at line 100 of file floppy.h.

#define FDC1   m68k_floppy_init()

Definition at line 35 of file floppy.h.

#define FLOPPY0_TYPE   (MACH_IS_Q40 ? 6 : 4)

Definition at line 31 of file floppy.h.

#define FLOPPY1_TYPE   0

Definition at line 32 of file floppy.h.

#define MAX_DMA_ADDRESS   0x00 /* nothing like that */

Definition at line 25 of file floppy.h.

#define N_DRIVE   8

Definition at line 38 of file floppy.h.

#define N_FDC   1

Definition at line 37 of file floppy.h.

#define NO_FLOPPY_ASSEMBLER

Function Documentation

asmlinkage irqreturn_t floppy_hardint ( int  irq,
void dev_id 
)

Definition at line 183 of file floppy.h.

Variable Documentation

spinlock_t dma_spin_lock