Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/ide.h>
#include <linux/notifier.h>
#include <linux/module.h>
#include <linux/reboot.h>
#include <linux/pci.h>
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/dbdma.h>
#include <asm/ide.h>
#include <asm/pci-bridge.h>
#include <asm/machdep.h>
#include <asm/pmac_feature.h>
#include <asm/sections.h>
#include <asm/irq.h>
#include <asm/mediabay.h>
Go to the source code of this file.
Data Structures | |
struct | pmac_ide_hwif |
struct | mdma_timings_t |
struct | kauai_timing |
Typedefs | |
typedef struct pmac_ide_hwif | pmac_ide_hwif_t |
Enumerations | |
enum | { controller_ohare, controller_heathrow, controller_kl_ata3, controller_kl_ata4, controller_un_ata6, controller_k2_ata6, controller_sh_ata6 } |
Functions | |
MODULE_DEVICE_TABLE (pci, pmac_ide_pci_match) | |
int __init | pmac_ide_probe (void) |
module_init (pmac_ide_probe) | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct mdma_timings_t | mdma_timings_33 [] |
struct mdma_timings_t | mdma_timings_33k [] |
struct mdma_timings_t | mdma_timings_66 [] |
struct { | |
int addrSetup | |
int rdy2pause | |
int wrDataSetup | |
} | kl66_udma_timings [] |
#define PMAC_IDE_REG | ( | x | ) | ((void __iomem *)((drive)->hwif->io_ports.data_addr + (x))) |
#define SYSCLK_TICKS | ( | t | ) | (((t) + IDE_SYSCLK_NS - 1) / IDE_SYSCLK_NS) |
#define SYSCLK_TICKS_66 | ( | t | ) | (((t) + IDE_SYSCLK_66_NS - 1) / IDE_SYSCLK_66_NS) |
#define TR_66_UDMA_ADDRSETUP_MASK 0xe0000000 /* Address setup */ |
#define TR_66_UDMA_EN 0x00100000 /* Enable Ultra mode for DMA */ |
#define TR_66_UDMA_RDY2PAUS_MASK 0x1e000000 /* Ready 2 pause time */ |
#define TR_66_UDMA_WRDATASETUP_MASK 0x01e00000 /* Write data setup time */ |
typedef struct pmac_ide_hwif pmac_ide_hwif_t |
anonymous enum |
MODULE_DEVICE_TABLE | ( | pci | , |
pmac_ide_pci_match | |||
) |
module_init | ( | pmac_ide_probe | ) |
MODULE_LICENSE | ( | "GPL" | ) |
struct { ... } kl66_udma_timings[] |
struct mdma_timings_t mdma_timings_33[] |
struct mdma_timings_t mdma_timings_33k[] |
struct mdma_timings_t mdma_timings_66[] |