Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pc873xx.h File Reference

Go to the source code of this file.

Macros

#define REG_FER   0x00
 
#define REG_FAR   0x01
 
#define REG_PTR   0x02
 
#define REG_FCR   0x03
 
#define REG_PCR   0x04
 
#define REG_KRR   0x05
 
#define REG_PMC   0x06
 
#define REG_TUP   0x07
 
#define REG_SID   0x08
 
#define REG_ASC   0x09
 
#define REG_IRC   0x0e
 
#define PC87303   0
 
#define PC87306   1
 
#define PC87312   2
 
#define PC87332   3
 
#define PC87334   4
 

Functions

int pc873xx_probe (void)
 
unsigned int pc873xx_get_base (void)
 
charpc873xx_get_model (void)
 
void pc873xx_enable_epp19 (void)
 
void pc873xx_enable_ide (void)
 

Macro Definition Documentation

#define PC87303   0

Definition at line 23 of file pc873xx.h.

#define PC87306   1

Definition at line 24 of file pc873xx.h.

#define PC87312   2

Definition at line 25 of file pc873xx.h.

#define PC87332   3

Definition at line 26 of file pc873xx.h.

#define PC87334   4

Definition at line 27 of file pc873xx.h.

#define REG_ASC   0x09

Definition at line 17 of file pc873xx.h.

#define REG_FAR   0x01

Definition at line 9 of file pc873xx.h.

#define REG_FCR   0x03

Definition at line 11 of file pc873xx.h.

#define REG_FER   0x00

Definition at line 8 of file pc873xx.h.

#define REG_IRC   0x0e

Definition at line 18 of file pc873xx.h.

#define REG_KRR   0x05

Definition at line 13 of file pc873xx.h.

#define REG_PCR   0x04

Definition at line 12 of file pc873xx.h.

#define REG_PMC   0x06

Definition at line 14 of file pc873xx.h.

#define REG_PTR   0x02

Definition at line 10 of file pc873xx.h.

#define REG_SID   0x08

Definition at line 16 of file pc873xx.h.

#define REG_TUP   0x07

Definition at line 15 of file pc873xx.h.

Function Documentation

void pc873xx_enable_epp19 ( void  )

Definition at line 72 of file pc873xx.c.

void pc873xx_enable_ide ( void  )

Definition at line 81 of file pc873xx.c.

unsigned int pc873xx_get_base ( void  )

Definition at line 15 of file pc873xx.c.

char* pc873xx_get_model ( void  )

Definition at line 20 of file pc873xx.c.

int pc873xx_probe ( void  )

Definition at line 42 of file pc873xx.c.