Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/bitops.h>
#include <linux/signal.h>
#include <linux/string.h>
#include <linux/ip.h>
#include <linux/if_arp.h>
#include <linux/tcp.h>
#include <linux/skbuff.h>
#include <linux/ctype.h>
#include <net/dst.h>
#include <linux/io.h>
#include <asm/ccwdev.h>
#include <asm/ccwgroup.h>
#include <linux/uaccess.h>
#include <asm/idals.h>
#include "ctcm_fsms.h"
#include "ctcm_main.h"
Go to the source code of this file.
Macros | |
#define | KMSG_COMPONENT "ctcm" |
#define | pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
Functions | |
void | ctcm_unpack_skb (struct channel *ch, struct sk_buff *pskb) |
int | ctcm_ch_alloc_buffer (struct channel *ch) |
int | ctcm_open (struct net_device *dev) |
int | ctcm_close (struct net_device *dev) |
struct mpc_group * | ctcmpc_init_mpc_group (struct ctcm_priv *priv) |
MODULE_DEVICE_TABLE (ccw, ctcm_ids) | |
module_init (ctcm_init) | |
module_exit (ctcm_exit) | |
MODULE_AUTHOR ("Peter Tiedemann <[email protected]>") | |
MODULE_DESCRIPTION ("Network driver for S/390 CTC + CTCMPC (SNA)") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct channel * | channels |
#define KMSG_COMPONENT "ctcm" |
Definition at line 22 of file ctcm_main.c.
#define pr_fmt | ( | fmt | ) | KMSG_COMPONENT ": " fmt |
Definition at line 23 of file ctcm_main.c.
Definition at line 381 of file ctcm_main.c.
int ctcm_close | ( | struct net_device * | dev | ) |
Close an interface. Called from generic network layer when ifconfig down is run.
dev Pointer to interface struct.
returns 0 on success, -ERRNO on failure. (Never fails.)
Definition at line 442 of file ctcm_main.c.
int ctcm_open | ( | struct net_device * | dev | ) |
Open an interface. Called from generic network layer when ifconfig up is run.
dev Pointer to interface struct.
returns 0 on success, -ERRNO on failure. (Never fails.)
Definition at line 424 of file ctcm_main.c.
Unpack a just received skb and hand it over to upper layers.
ch The channel where this skb has been received. pskb The received skb.
Definition at line 74 of file ctcm_main.c.
Definition at line 1280 of file ctcm_mpc.c.
MODULE_AUTHOR | ( | "Peter Tiedemann <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | ccw | , |
ctcm_ids | |||
) |
module_exit | ( | ctcm_exit | ) |
module_init | ( | ctcm_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
dma_request_channel - try to allocate an exclusive channel : capabilities that the channel must satisfy
: opaque parameter to pass to dma_filter_fn
Definition at line 65 of file ctcm_main.c.