Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tscan1.c File Reference
#include <linux/init.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/isa.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include "sja1000.h"

Go to the source code of this file.

Macros

#define TSCAN1_MAXDEV   4
 
#define TSCAN1_ID1   0
 
#define TSCAN1_ID2   1
 
#define TSCAN1_VERSION   2
 
#define TSCAN1_LED   3
 
#define TSCAN1_PAGE   4
 
#define TSCAN1_MODE   5
 
#define TSCAN1_JUMPERS   6
 
#define TSCAN1_ID1_VALUE   0xf6
 
#define TSCAN1_ID2_VALUE   0xb9
 
#define TSCAN1_MODE_ENABLE   0x40
 
#define TSCAN1_JP4   0x10
 
#define TSCAN1_JP5   0x20
 
#define TSCAN1_PLD_ADDRESS   0x150
 
#define TSCAN1_PLD_SIZE   8
 
#define TSCAN1_SJA1000_SIZE   32
 
#define TSCAN1_SJA1000_XTAL   16000000
 

Functions

 MODULE_DESCRIPTION ("Driver for Technologic Systems TS-CAN1 PC104 boards")
 
 MODULE_AUTHOR ("Andre B. Oliveira <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 module_init (tscan1_init)
 
 module_exit (tscan1_exit)
 

Macro Definition Documentation

#define TSCAN1_ID1   0

Definition at line 42 of file tscan1.c.

#define TSCAN1_ID1_VALUE   0xf6

Definition at line 51 of file tscan1.c.

#define TSCAN1_ID2   1

Definition at line 43 of file tscan1.c.

#define TSCAN1_ID2_VALUE   0xb9

Definition at line 52 of file tscan1.c.

#define TSCAN1_JP4   0x10

Definition at line 58 of file tscan1.c.

#define TSCAN1_JP5   0x20

Definition at line 59 of file tscan1.c.

#define TSCAN1_JUMPERS   6

Definition at line 48 of file tscan1.c.

#define TSCAN1_LED   3

Definition at line 45 of file tscan1.c.

#define TSCAN1_MAXDEV   4

Definition at line 39 of file tscan1.c.

#define TSCAN1_MODE   5

Definition at line 47 of file tscan1.c.

#define TSCAN1_MODE_ENABLE   0x40

Definition at line 55 of file tscan1.c.

#define TSCAN1_PAGE   4

Definition at line 46 of file tscan1.c.

#define TSCAN1_PLD_ADDRESS   0x150

Definition at line 62 of file tscan1.c.

#define TSCAN1_PLD_SIZE   8

Definition at line 65 of file tscan1.c.

#define TSCAN1_SJA1000_SIZE   32

Definition at line 68 of file tscan1.c.

#define TSCAN1_SJA1000_XTAL   16000000

Definition at line 71 of file tscan1.c.

#define TSCAN1_VERSION   2

Definition at line 44 of file tscan1.c.

Function Documentation

MODULE_AUTHOR ( "Andre B. Oliveira <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for Technologic Systems TS-CAN1 PC104 boards"  )
module_exit ( tscan1_exit  )
module_init ( tscan1_init  )
MODULE_LICENSE ( "GPL"  )