Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dsa.c File Reference
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/dsa.h>
#include "dsa_priv.h"

Go to the source code of this file.

Functions

void register_switch_driver (struct dsa_switch_driver *drv)
 
 EXPORT_SYMBOL_GPL (register_switch_driver)
 
void unregister_switch_driver (struct dsa_switch_driver *drv)
 
 EXPORT_SYMBOL_GPL (unregister_switch_driver)
 
 module_init (dsa_init_module)
 
 module_exit (dsa_cleanup_module)
 
 MODULE_AUTHOR ("Lennert Buytenhek <[email protected]>")
 
 MODULE_DESCRIPTION ("Driver for Distributed Switch Architecture switch chips")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:dsa")
 

Variables

char dsa_driver_version [] = "0.1"
 

Function Documentation

EXPORT_SYMBOL_GPL ( register_switch_driver  )
EXPORT_SYMBOL_GPL ( unregister_switch_driver  )
MODULE_ALIAS ( "platform:dsa"  )
MODULE_AUTHOR ( "Lennert Buytenhek <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for Distributed Switch Architecture switch chips )
module_exit ( dsa_cleanup_module  )
module_init ( dsa_init_module  )
MODULE_LICENSE ( "GPL"  )
void register_switch_driver ( struct dsa_switch_driver drv)

Definition at line 26 of file dsa.c.

void unregister_switch_driver ( struct dsa_switch_driver drv)

Definition at line 34 of file dsa.c.

Variable Documentation

char dsa_driver_version[] = "0.1"

Definition at line 19 of file dsa.c.