Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dsa.h File Reference
#include <linux/if_ether.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/workqueue.h>

Go to the source code of this file.

Data Structures

struct  dsa_chip_data
 
struct  dsa_platform_data
 
struct  dsa_switch_tree
 
struct  dsa_switch
 
struct  dsa_switch_driver
 

Macros

#define DSA_MAX_SWITCHES   4
 
#define DSA_MAX_PORTS   12
 

Functions

void register_switch_driver (struct dsa_switch_driver *type)
 
void unregister_switch_driver (struct dsa_switch_driver *type)
 

Macro Definition Documentation

#define DSA_MAX_PORTS   12

Definition at line 20 of file dsa.h.

#define DSA_MAX_SWITCHES   4

Definition at line 19 of file dsa.h.

Function Documentation

void register_switch_driver ( struct dsa_switch_driver type)

Definition at line 26 of file dsa.c.

void unregister_switch_driver ( struct dsa_switch_driver type)

Definition at line 34 of file dsa.c.