Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
parport_gsc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/sysctl.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/uaccess.h>
#include <asm/superio.h>
#include <linux/parport.h>
#include <asm/pdc.h>
#include <asm/parisc-device.h>
#include <asm/hardware.h>
#include "parport_gsc.h"

Go to the source code of this file.

Macros

#define printmode(x)   {if(p->modes&PARPORT_MODE_##x){printk("%s%s",f?",":"",#x);f++;}}
 
#define PARPORT_GSC_OFFSET   0x800
 

Functions

 MODULE_AUTHOR ("Helge Deller <[email protected]>")
 
 MODULE_DESCRIPTION ("HP-PARISC PC-style parallel port driver")
 
 MODULE_SUPPORTED_DEVICE ("integrated PC-style parallel port")
 
 MODULE_LICENSE ("GPL")
 
void parport_gsc_init_state (struct pardevice *dev, struct parport_state *s)
 
void parport_gsc_save_state (struct parport *p, struct parport_state *s)
 
void parport_gsc_restore_state (struct parport *p, struct parport_state *s)
 
struct parport *__devinit parport_gsc_probe_port (unsigned long base, unsigned long base_hi, int irq, int dma, struct pci_dev *dev)
 
 MODULE_DEVICE_TABLE (parisc, parport_tbl)
 
int __devinit parport_gsc_init (void)
 
 module_init (parport_gsc_init)
 
 module_exit (parport_gsc_exit)
 

Variables

struct parport_operations parport_gsc_ops
 

Macro Definition Documentation

#define PARPORT_GSC_OFFSET   0x800

Definition at line 346 of file parport_gsc.c.

#define printmode (   x)    {if(p->modes&PARPORT_MODE_##x){printk("%s%s",f?",":"",#x);f++;}}

Function Documentation

MODULE_AUTHOR ( "Helge Deller <[email protected]>"  )
MODULE_DESCRIPTION ( "HP-PARISC PC-style parallel port driver )
MODULE_DEVICE_TABLE ( parisc  ,
parport_tbl   
)
module_exit ( parport_gsc_exit  )
module_init ( parport_gsc_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_SUPPORTED_DEVICE ( "integrated PC-style parallel port )
int __devinit parport_gsc_init ( void  )

Definition at line 421 of file parport_gsc.c.

void parport_gsc_init_state ( struct pardevice dev,
struct parport_state s 
)

Definition at line 83 of file parport_gsc.c.

struct parport* __devinit parport_gsc_probe_port ( unsigned long  base,
unsigned long  base_hi,
int  irq,
int  dma,
struct pci_dev dev 
)
read

Definition at line 235 of file parport_gsc.c.

void parport_gsc_restore_state ( struct parport p,
struct parport_state s 
)

Definition at line 93 of file parport_gsc.c.

void parport_gsc_save_state ( struct parport p,
struct parport_state s 
)

Definition at line 88 of file parport_gsc.c.

Variable Documentation

struct parport_operations parport_gsc_ops

Definition at line 98 of file parport_gsc.c.