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

Go to the source code of this file.

Data Structures

struct  hpt_timings
 
struct  hpt_info
 

Macros

#define DRV_NAME   "hpt366"
 
#define HPT371_ALLOW_ATA133_6   1
 
#define HPT302_ALLOW_ATA133_6   1
 
#define HPT372_ALLOW_ATA133_6   1
 
#define HPT370_ALLOW_ATA100_5   0
 
#define HPT366_ALLOW_ATA66_4   1
 
#define HPT366_ALLOW_ATA66_3   1
 
#define IDE_HFLAGS_HPT3XX
 

Enumerations

enum  ata_clock {
  ATA_CLOCK_25MHZ, ATA_CLOCK_33MHZ, ATA_CLOCK_40MHZ, ATA_CLOCK_50MHZ,
  ATA_CLOCK_66MHZ, NUM_ATA_CLOCKS
}
 
enum  {
  HPT36x, HPT370, HPT370A, HPT374,
  HPT372, HPT372A, HPT302, HPT371,
  HPT372N, HPT302N, HPT371N
}
 

Functions

 MODULE_DEVICE_TABLE (pci, hpt366_pci_tbl)
 
 module_init (hpt366_ide_init)
 
 module_exit (hpt366_ide_exit)
 
 MODULE_AUTHOR ("Andre Hedrick")
 
 MODULE_DESCRIPTION ("PCI driver module for Highpoint HPT366 IDE")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRV_NAME   "hpt366"

Definition at line 136 of file hpt366.c.

#define HPT302_ALLOW_ATA133_6   1

Definition at line 368 of file hpt366.c.

#define HPT366_ALLOW_ATA66_3   1

Definition at line 372 of file hpt366.c.

#define HPT366_ALLOW_ATA66_4   1

Definition at line 371 of file hpt366.c.

#define HPT370_ALLOW_ATA100_5   0

Definition at line 370 of file hpt366.c.

#define HPT371_ALLOW_ATA133_6   1

Definition at line 367 of file hpt366.c.

#define HPT372_ALLOW_ATA133_6   1

Definition at line 369 of file hpt366.c.

#define IDE_HFLAGS_HPT3XX
Value:
IDE_HFLAG_OFF_BOARD)

Definition at line 1317 of file hpt366.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
HPT36x 
HPT370 
HPT370A 
HPT374 
HPT372 
HPT372A 
HPT302 
HPT371 
HPT372N 
HPT302N 
HPT371N 

Definition at line 406 of file hpt366.c.

enum ata_clock
Enumerator:
ATA_CLOCK_25MHZ 
ATA_CLOCK_33MHZ 
ATA_CLOCK_40MHZ 
ATA_CLOCK_50MHZ 
ATA_CLOCK_66MHZ 
NUM_ATA_CLOCKS 

Definition at line 375 of file hpt366.c.

Function Documentation

MODULE_AUTHOR ( "Andre Hedrick"  )
MODULE_DESCRIPTION ( "PCI driver module for Highpoint HPT366 IDE )
MODULE_DEVICE_TABLE ( pci  ,
hpt366_pci_tbl   
)
module_exit ( hpt366_ide_exit  )
module_init ( hpt366_ide_init  )
MODULE_LICENSE ( "GPL"  )