|
Linux Kernel
3.7.1
|
#include <linux/of.h>#include <linux/of_device.h>#include <asm/page.h>#include <asm/pgtable.h>#include <asm/idprom.h>#include <asm/oplib.h>#include <asm/auxio.h>#include <asm/irq.h>Go to the source code of this file.
Data Structures | |
| struct | sun_flpy_controller |
| struct | sun_floppy_ops |
Macros | |
| #define | release_region(X, Y) do { } while(0) |
| #define | request_region(X, Y, Z) (1) |
| #define | dcr_82072 status_82072 /* Digital Control reg. */ |
| #define | status1_82077 status_82072 /* Auxiliary Status reg. 1 */ |
| #define | status2_82077 data_82072 /* Auxiliary Status reg. 2 */ |
| #define | drs_82077 status_82077 /* Digital Rate Select reg. */ |
| #define | dcr_82077 dir_82077 /* Config Control reg. */ |
| #define | fd_inb(port) sun_fdops.fd_inb(port) |
| #define | fd_outb(value, port) sun_fdops.fd_outb(value,port) |
| #define | fd_enable_dma() sun_fd_enable_dma() |
| #define | fd_disable_dma() sun_fd_disable_dma() |
| #define | fd_request_dma() (0) /* nothing... */ |
| #define | fd_free_dma() /* nothing... */ |
| #define | fd_clear_dma_ff() /* nothing... */ |
| #define | fd_set_dma_mode(mode) sun_fd_set_dma_mode(mode) |
| #define | fd_set_dma_addr(addr) sun_fd_set_dma_addr(addr) |
| #define | fd_set_dma_count(count) sun_fd_set_dma_count(count) |
| #define | fd_enable_irq() /* nothing... */ |
| #define | fd_disable_irq() /* nothing... */ |
| #define | fd_cacheflush(addr, size) /* nothing... */ |
| #define | fd_request_irq() sun_fd_request_irq() |
| #define | fd_free_irq() /* nothing... */ |
| #define | get_dma_residue(x) (0) |
| #define | FLOPPY0_TYPE 4 |
| #define | FLOPPY1_TYPE 0 |
| #define | FDC1 sun_floppy_init() |
| #define | N_FDC 1 |
| #define | N_DRIVE 8 |
| #define | CROSS_64KB(a, s) (0) |
| #define | fd_eject(drive) sparc_eject() |
| #define | EXTRA_FLOPPY_PARAMS |
| #define | claim_dma_lock() |
| #define | release_dma_lock(__flags) spin_unlock_irqrestore(&dma_spin_lock, __flags); |
Functions | |
| int | sparc_floppy_request_irq (unsigned int irq, irq_handler_t irq_handler) |
Variables | |
| volatile unsigned char * | fdc_status |
| char * | pdma_vaddr |
| unsigned long | pdma_size |
| volatile int | doing_pdma |
| char * | pdma_base |
| unsigned long | pdma_areasize |
| #define claim_dma_lock | ( | void | ) |
Definition at line 392 of file floppy_32.h.
Definition at line 100 of file floppy_32.h.
| #define dcr_82072 status_82072 /* Digital Control reg. */ |
Definition at line 32 of file floppy_32.h.
Definition at line 47 of file floppy_32.h.
| #define drs_82077 status_82077 /* Digital Rate Select reg. */ |
Definition at line 42 of file floppy_32.h.
| #define EXTRA_FLOPPY_PARAMS |
Definition at line 388 of file floppy_32.h.
Definition at line 73 of file floppy_32.h.
| #define fd_clear_dma_ff | ( | void | ) | /* nothing... */ |
Definition at line 67 of file floppy_32.h.
| #define fd_disable_dma | ( | void | ) | sun_fd_disable_dma() |
Definition at line 64 of file floppy_32.h.
| #define fd_disable_irq | ( | void | ) | /* nothing... */ |
Definition at line 72 of file floppy_32.h.
| #define fd_eject | ( | drive | ) | sparc_eject() |
Definition at line 386 of file floppy_32.h.
| #define fd_enable_dma | ( | void | ) | sun_fd_enable_dma() |
Definition at line 63 of file floppy_32.h.
| #define fd_enable_irq | ( | void | ) | /* nothing... */ |
Definition at line 71 of file floppy_32.h.
| #define fd_free_dma | ( | void | ) | /* nothing... */ |
Definition at line 66 of file floppy_32.h.
| #define fd_free_irq | ( | void | ) | /* nothing... */ |
Definition at line 75 of file floppy_32.h.
Definition at line 61 of file floppy_32.h.
Definition at line 62 of file floppy_32.h.
| #define fd_request_dma | ( | void | ) | (0) /* nothing... */ |
Definition at line 65 of file floppy_32.h.
| #define fd_request_irq | ( | void | ) | sun_fd_request_irq() |
Definition at line 74 of file floppy_32.h.
Definition at line 69 of file floppy_32.h.
Definition at line 70 of file floppy_32.h.
Definition at line 68 of file floppy_32.h.
| #define FDC1 sun_floppy_init() |
Definition at line 94 of file floppy_32.h.
| #define FLOPPY0_TYPE 4 |
Definition at line 84 of file floppy_32.h.
| #define FLOPPY1_TYPE 0 |
Definition at line 85 of file floppy_32.h.
| #define get_dma_residue | ( | x | ) | (0) |
Definition at line 82 of file floppy_32.h.
| #define N_DRIVE 8 |
Definition at line 97 of file floppy_32.h.
| #define N_FDC 1 |
Definition at line 96 of file floppy_32.h.
| #define release_dma_lock | ( | __flags | ) | spin_unlock_irqrestore(&dma_spin_lock, __flags); |
Definition at line 398 of file floppy_32.h.
| #define release_region | ( | X, | |
| Y | |||
| ) | do { } while(0) |
Definition at line 22 of file floppy_32.h.
Definition at line 23 of file floppy_32.h.
| #define status1_82077 status_82072 /* Auxiliary Status reg. 1 */ |
Definition at line 33 of file floppy_32.h.
| #define status2_82077 data_82072 /* Auxiliary Status reg. 2 */ |
Definition at line 36 of file floppy_32.h.
| int sparc_floppy_request_irq | ( | unsigned int | irq, |
| irq_handler_t | irq_handler | ||
| ) |
| volatile int doing_pdma |
Definition at line 154 of file floppy_64.h.
| volatile unsigned char* fdc_status |
Definition at line 45 of file floppy_64.h.
| unsigned long pdma_areasize |
Definition at line 158 of file floppy_64.h.
| char* pdma_base |
Definition at line 157 of file floppy_64.h.
| unsigned long pdma_size |
Definition at line 153 of file floppy_64.h.
| char* pdma_vaddr |
Definition at line 152 of file floppy_64.h.
1.8.2