Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cs89x0.c File Reference
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/io.h>
#include <asm/irq.h>
#include <linux/atomic.h>
#include "cs89x0.h"

Go to the source code of this file.

Data Structures

struct  net_local
 

Macros

#define ALLOW_DMA   0
 
#define DEBUGGING   1
 
#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define cs89_dbg(val, level, fmt,...)
 
#define DRV_NAME   "cs89x0"
 
#define NETCARD_IO_EXTENT   16
 
#define FORCE_RJ45   0x0001 /* pick one of these three */
 
#define FORCE_AUI   0x0002
 
#define FORCE_BNC   0x0004
 
#define FORCE_AUTO   0x0010 /* pick one of these three */
 
#define FORCE_HALF   0x0020
 
#define FORCE_FULL   0x0030
 
#define tx_done(dev)   1
 
#define DETECTED_NONE   0
 
#define DETECTED_RJ45H   1
 
#define DETECTED_RJ45F   2
 
#define DETECTED_AUI   3
 
#define DETECTED_BNC   4
 

Functions

 __setup ("cs89x0_media=", media_fn)
 
struct net_device *__init cs89x0_probe (int unit)
 

Macro Definition Documentation

#define ALLOW_DMA   0

Definition at line 33 of file cs89x0.c.

#define cs89_dbg (   val,
  level,
  fmt,
  ... 
)
Value:
do { \
if (val <= net_debug) \
pr_##level(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 80 of file cs89x0.c.

#define DEBUGGING   1

Definition at line 42 of file cs89x0.c.

#define DETECTED_AUI   3

Definition at line 600 of file cs89x0.c.

#define DETECTED_BNC   4

Definition at line 601 of file cs89x0.c.

#define DETECTED_NONE   0

Definition at line 597 of file cs89x0.c.

#define DETECTED_RJ45F   2

Definition at line 599 of file cs89x0.c.

#define DETECTED_RJ45H   1

Definition at line 598 of file cs89x0.c.

#define DRV_NAME   "cs89x0"

Definition at line 89 of file cs89x0.c.

#define FORCE_AUI   0x0002

Definition at line 143 of file cs89x0.c.

#define FORCE_AUTO   0x0010 /* pick one of these three */

Definition at line 146 of file cs89x0.c.

#define FORCE_BNC   0x0004

Definition at line 144 of file cs89x0.c.

#define FORCE_FULL   0x0030

Definition at line 148 of file cs89x0.c.

#define FORCE_HALF   0x0020

Definition at line 147 of file cs89x0.c.

#define FORCE_RJ45   0x0001 /* pick one of these three */

Definition at line 142 of file cs89x0.c.

#define NETCARD_IO_EXTENT   16

Definition at line 139 of file cs89x0.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 49 of file cs89x0.c.

#define tx_done (   dev)    1

Definition at line 178 of file cs89x0.c.

Function Documentation

__setup ( )
struct net_device* __init cs89x0_probe ( int  unit)
read

Definition at line 1704 of file cs89x0.c.