Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pas16.c File Reference
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/proc_fs.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/stat.h>
#include <linux/init.h>
#include "scsi.h"
#include <scsi/scsi_host.h>
#include "pas16.h"
#include "NCR5380.h"
#include "NCR5380.c"
#include "scsi_module.c"

Go to the source code of this file.

Data Structures

struct  override
 
struct  base
 

Macros

#define AUTOSENSE
 
#define PSEUDO_DMA
 
#define FOO
 
#define UNSAFE   /* Not unsafe for PAS16 -- use it */
 
#define PDEBUG   0
 
#define AUTOPROBE_IRQ
 
#define NO_OVERRIDES   ARRAY_SIZE(overrides)
 
#define NO_BASES   ARRAY_SIZE(bases)
 
#define rtrc(i)   {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);}
 

Functions

void __init pas16_setup (char *str, int *ints)
 
int __init pas16_detect (struct scsi_host_template *tpnt)
 
int pas16_biosparam (struct scsi_device *sdev, struct block_device *dev, sector_t capacity, int *ip)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define AUTOPROBE_IRQ

Definition at line 129 of file pas16.c.

#define AUTOSENSE

Definition at line 1 of file pas16.c.

#define FOO

Definition at line 3 of file pas16.c.

#define NO_BASES   ARRAY_SIZE(bases)

Definition at line 177 of file pas16.c.

#define NO_OVERRIDES   ARRAY_SIZE(overrides)

Definition at line 165 of file pas16.c.

#define PDEBUG   0

Definition at line 5 of file pas16.c.

#define PSEUDO_DMA

Definition at line 2 of file pas16.c.

#define rtrc (   i)    {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);}

Definition at line 206 of file pas16.c.

#define UNSAFE   /* Not unsafe for PAS16 -- use it */

Definition at line 4 of file pas16.c.

Function Documentation

MODULE_LICENSE ( "GPL"  )
int pas16_biosparam ( struct scsi_device sdev,
struct block_device dev,
sector_t  capacity,
int ip 
)

Definition at line 511 of file pas16.c.

int __init pas16_detect ( struct scsi_host_template tpnt)

Definition at line 382 of file pas16.c.

void __init pas16_setup ( char str,
int ints 
)

Definition at line 350 of file pas16.c.