Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sja1000.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/can/dev.h>
#include <linux/can/error.h>
#include "sja1000.h"

Go to the source code of this file.

Macros

#define DRV_NAME   "sja1000"
 

Functions

 MODULE_AUTHOR ("Oliver Hartkopp <[email protected]>")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_DESCRIPTION (DRV_NAME"CAN netdevice driver")
 
irqreturn_t sja1000_interrupt (int irq, void *dev_id)
 
 EXPORT_SYMBOL_GPL (sja1000_interrupt)
 
struct net_devicealloc_sja1000dev (int sizeof_priv)
 
 EXPORT_SYMBOL_GPL (alloc_sja1000dev)
 
void free_sja1000dev (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (free_sja1000dev)
 
int register_sja1000dev (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (register_sja1000dev)
 
void unregister_sja1000dev (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (unregister_sja1000dev)
 
 module_init (sja1000_init)
 
 module_exit (sja1000_exit)
 

Macro Definition Documentation

#define DRV_NAME   "sja1000"

Definition at line 66 of file sja1000.c.

Function Documentation

struct net_device* alloc_sja1000dev ( int  sizeof_priv)
read

Definition at line 606 of file sja1000.c.

EXPORT_SYMBOL_GPL ( sja1000_interrupt  )
EXPORT_SYMBOL_GPL ( alloc_sja1000dev  )
EXPORT_SYMBOL_GPL ( free_sja1000dev  )
EXPORT_SYMBOL_GPL ( register_sja1000dev  )
EXPORT_SYMBOL_GPL ( unregister_sja1000dev  )
void free_sja1000dev ( struct net_device dev)

Definition at line 636 of file sja1000.c.

MODULE_AUTHOR ( "Oliver Hartkopp <[email protected]>"  )
MODULE_DESCRIPTION ( DRV_NAME"CAN netdevice driver )
module_exit ( sja1000_exit  )
module_init ( sja1000_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
int register_sja1000dev ( struct net_device dev)

Definition at line 648 of file sja1000.c.

irqreturn_t sja1000_interrupt ( int  irq,
void dev_id 
)

Definition at line 490 of file sja1000.c.

void unregister_sja1000dev ( struct net_device dev)

Definition at line 663 of file sja1000.c.