Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
qeth_l2_main.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/mii.h>
#include <linux/ip.h>
#include <linux/list.h>
#include "qeth_core.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "qeth"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

 EXPORT_SYMBOL_GPL (qeth_l2_discipline)
 
int qeth_osn_assist (struct net_device *dev, void *data, int data_len)
 
 EXPORT_SYMBOL (qeth_osn_assist)
 
int qeth_osn_register (unsigned char *read_dev_no, struct net_device **dev, int(*assist_cb)(struct net_device *, void *), int(*data_cb)(struct sk_buff *))
 
 EXPORT_SYMBOL (qeth_osn_register)
 
void qeth_osn_deregister (struct net_device *dev)
 
 EXPORT_SYMBOL (qeth_osn_deregister)
 
 module_init (qeth_l2_init)
 
 module_exit (qeth_l2_exit)
 
 MODULE_AUTHOR ("Frank Blaschka <[email protected]>")
 
 MODULE_DESCRIPTION ("qeth layer 2 discipline")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct qeth_discipline qeth_l2_discipline
 

Macro Definition Documentation

#define KMSG_COMPONENT   "qeth"

Definition at line 9 of file qeth_l2_main.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file qeth_l2_main.c.

Function Documentation

EXPORT_SYMBOL ( qeth_osn_assist  )
EXPORT_SYMBOL ( qeth_osn_register  )
EXPORT_SYMBOL ( qeth_osn_deregister  )
EXPORT_SYMBOL_GPL ( qeth_l2_discipline  )
MODULE_AUTHOR ( "Frank Blaschka <[email protected]>"  )
MODULE_DESCRIPTION ( "qeth layer 2 discipline"  )
module_exit ( qeth_l2_exit  )
module_init ( qeth_l2_init  )
MODULE_LICENSE ( "GPL"  )
int qeth_osn_assist ( struct net_device dev,
void data,
int  data_len 
)

Definition at line 1286 of file qeth_l2_main.c.

void qeth_osn_deregister ( struct net_device dev)

Definition at line 1329 of file qeth_l2_main.c.

int qeth_osn_register ( unsigned char read_dev_no,
struct net_device **  dev,
int(*)(struct net_device *, void *)  assist_cb,
int(*)(struct sk_buff *)  data_cb 
)

Definition at line 1308 of file qeth_l2_main.c.

Variable Documentation

struct qeth_discipline qeth_l2_discipline
Initial value:
= {
.start_poll = qeth_qdio_start_poll,
.recover = qeth_l2_recover,
.setup = qeth_l2_probe_device,
.remove = qeth_l2_remove_device,
.set_online = qeth_l2_set_online,
.set_offline = qeth_l2_set_offline,
.shutdown = qeth_l2_shutdown,
.freeze = qeth_l2_pm_suspend,
.thaw = qeth_l2_pm_resume,
.restore = qeth_l2_pm_resume,
}

Definition at line 1226 of file qeth_l2_main.c.