Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
parkbd.c File Reference
#include <linux/module.h>
#include <linux/parport.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/serio.h>

Go to the source code of this file.

Macros

#define PARKBD_CLOCK   0x01 /* Strobe & Ack */
 
#define PARKBD_DATA   0x02 /* AutoFd & Busy */
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION ("Parallel port to Keyboard port adapter driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param_named (port, parkbd_pp_no, int, 0)
 
 MODULE_PARM_DESC (port,"Parallel port the adapter is connected to (default is 0)")
 
 module_param_named (mode, parkbd_mode, uint, 0)
 
 MODULE_PARM_DESC (mode,"Mode of operation: XT = 0/AT = 1 (default)")
 
 module_init (parkbd_init)
 
 module_exit (parkbd_exit)
 

Macro Definition Documentation

#define PARKBD_CLOCK   0x01 /* Strobe & Ack */

Definition at line 65 of file parkbd.c.

#define PARKBD_DATA   0x02 /* AutoFd & Busy */

Definition at line 66 of file parkbd.c.

Function Documentation

MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( "Parallel port to Keyboard port adapter driver )
module_exit ( parkbd_exit  )
module_init ( parkbd_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( port  ,
parkbd_pp_no  ,
int  ,
 
)
module_param_named ( mode  ,
parkbd_mode  ,
uint  ,
 
)
MODULE_PARM_DESC ( port  ,
"Parallel port the adapter is connected to (default is 0)"   
)
MODULE_PARM_DESC ( mode  )