Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
jsm_driver.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include "jsm.h"

Go to the source code of this file.

Macros

#define JSM_DRIVER_NAME   "jsm"
 
#define NR_PORTS   32
 
#define JSM_MINOR_START   0
 

Functions

 MODULE_AUTHOR ("Digi International, http://www.digi.com")
 
 MODULE_DESCRIPTION ("Driver for the Digi International ""Neo PCI based product line")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("jsm")
 
 module_param (jsm_debug, int, 0)
 
 MODULE_PARM_DESC (jsm_debug,"Driver debugging level")
 
 MODULE_DEVICE_TABLE (pci, jsm_pci_tbl)
 
 module_init (jsm_init_module)
 
 module_exit (jsm_exit_module)
 

Variables

struct uart_driver jsm_uart_driver
 
int jsm_debug
 

Macro Definition Documentation

#define JSM_DRIVER_NAME   "jsm"

Definition at line 39 of file jsm_driver.c.

#define JSM_MINOR_START   0

Definition at line 41 of file jsm_driver.c.

#define NR_PORTS   32

Definition at line 40 of file jsm_driver.c.

Function Documentation

MODULE_AUTHOR ( "Digi  International,
http://www.digi.com"   
)
MODULE_DESCRIPTION ( "Driver for the Digi International ""Neo PCI based product line )
MODULE_DEVICE_TABLE ( pci  ,
jsm_pci_tbl   
)
module_exit ( jsm_exit_module  )
module_init ( jsm_init_module  )
MODULE_LICENSE ( "GPL"  )
module_param ( jsm_debug  ,
int  ,
 
)
MODULE_PARM_DESC ( jsm_debug  ,
"Driver debugging level  
)
MODULE_SUPPORTED_DEVICE ( "jsm"  )

Variable Documentation

int jsm_debug

Definition at line 63 of file jsm_driver.c.

struct uart_driver jsm_uart_driver
Initial value:
= {
.owner = THIS_MODULE,
.driver_name = JSM_DRIVER_NAME,
.dev_name = "ttyn",
.major = 0,
.minor = JSM_MINOR_START,
.nr = NR_PORTS,
}

Definition at line 43 of file jsm_driver.c.