Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
piix.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/ide.h>
#include <linux/init.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  ich_laptop
 

Macros

#define DRV_NAME   "piix"
 
#define DECLARE_PIIX_DEV(udma)
 
#define DECLARE_ICH_DEV(mwdma, udma)
 

Functions

 MODULE_DEVICE_TABLE (pci, piix_pci_tbl)
 
 module_init (piix_ide_init)
 
 module_exit (piix_ide_exit)
 
 MODULE_AUTHOR ("Andre Hedrick, Andrzej Krzysztofowicz")
 
 MODULE_DESCRIPTION ("PCI driver module for Intel PIIX IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DECLARE_ICH_DEV (   mwdma,
  udma 
)
Value:
{ \
.name = DRV_NAME, \
.init_chipset = init_chipset_ich, \
.init_hwif = init_hwif_piix, \
.enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \
.port_ops = &ich_port_ops, \
.pio_mask = ATA_PIO4, \
.swdma_mask = ATA_SWDMA2_ONLY, \
.mwdma_mask = mwdma, \
.udma_mask = udma, \
}

Definition at line 334 of file piix.c.

#define DECLARE_PIIX_DEV (   udma)
Value:
{ \
.name = DRV_NAME, \
.init_hwif = init_hwif_piix, \
.enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, \
.port_ops = &piix_port_ops, \
.pio_mask = ATA_PIO4, \
.swdma_mask = ATA_SWDMA2_ONLY, \
.mwdma_mask = ATA_MWDMA12_ONLY, \
.udma_mask = udma, \
}

Definition at line 322 of file piix.c.

#define DRV_NAME   "piix"

Definition at line 56 of file piix.c.

Function Documentation

MODULE_AUTHOR ( "Andre  Hedrick,
Andrzej Krzysztofowicz"   
)
MODULE_DESCRIPTION ( "PCI driver module for Intel PIIX IDE )
MODULE_DEVICE_TABLE ( pci  ,
piix_pci_tbl   
)
module_exit ( piix_ide_exit  )
module_init ( piix_ide_init  )
MODULE_LICENSE ( "GPL"  )