Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bpck6.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <asm/io.h>
#include <linux/parport.h>
#include "ppc6lnx.c"
#include "paride.h"

Go to the source code of this file.

Macros

#define BACKPACK_VERSION   "2.0.2"
 
#define PPCSTRUCT(pi)   ((Interface *)(pi->private))
 
#define ATAPI_DATA   0 /* data port */
 
#define ATAPI_ERROR   1 /* error register (read) */
 
#define ATAPI_FEATURES   1 /* feature register (write) */
 
#define ATAPI_INT_REASON   2 /* interrupt reason register */
 
#define ATAPI_COUNT_LOW   4 /* byte count register (low) */
 
#define ATAPI_COUNT_HIGH   5 /* byte count register (high) */
 
#define ATAPI_DRIVE_SEL   6 /* drive select register */
 
#define ATAPI_STATUS   7 /* status port (read) */
 
#define ATAPI_COMMAND   7 /* command port (write) */
 
#define ATAPI_ALT_STATUS   0x0e /* alternate status reg (read) */
 
#define ATAPI_DEVICE_CONTROL   0x0e /* device control (write) */
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Micro Solutions Inc.")
 
 MODULE_DESCRIPTION ("BACKPACK Protocol module, compatible with PARIDE")
 
 module_param (verbose, bool, 0644)
 

Macro Definition Documentation

#define ATAPI_ALT_STATUS   0x0e /* alternate status reg (read) */

Definition at line 55 of file bpck6.c.

#define ATAPI_COMMAND   7 /* command port (write) */

Definition at line 54 of file bpck6.c.

#define ATAPI_COUNT_HIGH   5 /* byte count register (high) */

Definition at line 51 of file bpck6.c.

#define ATAPI_COUNT_LOW   4 /* byte count register (low) */

Definition at line 50 of file bpck6.c.

#define ATAPI_DATA   0 /* data port */

Definition at line 46 of file bpck6.c.

#define ATAPI_DEVICE_CONTROL   0x0e /* device control (write) */

Definition at line 56 of file bpck6.c.

#define ATAPI_DRIVE_SEL   6 /* drive select register */

Definition at line 52 of file bpck6.c.

#define ATAPI_ERROR   1 /* error register (read) */

Definition at line 47 of file bpck6.c.

#define ATAPI_FEATURES   1 /* feature register (write) */

Definition at line 48 of file bpck6.c.

#define ATAPI_INT_REASON   2 /* interrupt reason register */

Definition at line 49 of file bpck6.c.

#define ATAPI_STATUS   7 /* status port (read) */

Definition at line 53 of file bpck6.c.

#define BACKPACK_VERSION   "2.0.2"

Definition at line 23 of file bpck6.c.

#define PPCSTRUCT (   pi)    ((Interface *)(pi->private))

Definition at line 40 of file bpck6.c.

Function Documentation

MODULE_AUTHOR ( "Micro Solutions Inc."  )
MODULE_DESCRIPTION ( "BACKPACK Protocol  module,
compatible with PARIDE"   
)
MODULE_LICENSE ( "GPL"  )
module_param ( verbose  ,
bool  ,
0644   
)