Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tulip_core.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include "tulip.h"
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include <asm/unaligned.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "tulip: " fmt
 
#define DRV_NAME   "tulip"
 
#define DRV_VERSION   "1.1.15"
 
#define DRV_RELDATE   "Feb 27, 2007"
 
#define MAX_UNITS   8
 
#define TX_TIMEOUT   (4*HZ)
 

Functions

 MODULE_AUTHOR ("The Linux Kernel Team")
 
 MODULE_DESCRIPTION ("Digital 21*4* Tulip ethernet driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_VERSION)
 
 module_param (tulip_debug, int, 0)
 
 module_param (max_interrupt_work, int, 0)
 
 module_param (rx_copybreak, int, 0)
 
 module_param (csr0, int, 0)
 
 module_param_array (options, int, NULL, 0)
 
 module_param_array (full_duplex, int, NULL, 0)
 
 MODULE_DEVICE_TABLE (pci, tulip_pci_tbl)
 
 DEFINE_PCI_DEVICE_TABLE (early_486_chipsets)
 
 module_init (tulip_init)
 
 module_exit (tulip_cleanup)
 

Variables

const char *const medianame [32]
 
int tulip_debug = TULIP_DEBUG
 
struct tulip_chip_table tulip_tbl []
 
const char tulip_media_cap [32]
 

Macro Definition Documentation

#define DRV_NAME   "tulip"

Definition at line 14 of file tulip_core.c.

#define DRV_RELDATE   "Feb 27, 2007"

Definition at line 20 of file tulip_core.c.

#define DRV_VERSION   "1.1.15"

Definition at line 18 of file tulip_core.c.

#define MAX_UNITS   8

Definition at line 48 of file tulip_core.c.

#define pr_fmt (   fmt)    "tulip: " fmt

Definition at line 12 of file tulip_core.c.

#define TX_TIMEOUT   (4*HZ)

Definition at line 107 of file tulip_core.c.

Function Documentation

DEFINE_PCI_DEVICE_TABLE ( early_486_chipsets  )
MODULE_AUTHOR ( "The Linux Kernel Team"  )
MODULE_DESCRIPTION ( "Digital 21*4* Tulip ethernet driver )
MODULE_DEVICE_TABLE ( pci  ,
tulip_pci_tbl   
)
module_exit ( tulip_cleanup  )
module_init ( tulip_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( tulip_debug  ,
int  ,
 
)
module_param ( max_interrupt_work  ,
int  ,
 
)
module_param ( rx_copybreak  ,
int  ,
 
)
module_param ( csr0  ,
int  ,
 
)
module_param_array ( options  ,
int  ,
NULL  ,
 
)
module_param_array ( full_duplex  ,
int  ,
NULL  ,
 
)
MODULE_VERSION ( DRV_VERSION  )

Variable Documentation

const char* const medianame[32]
Initial value:
= {
"10baseT", "10base2", "AUI", "100baseTx",
"10baseT-FDX", "100baseTx-FDX", "100baseT4", "100baseFx",
"100baseFx-FDX", "MII 10baseT", "MII 10baseT-FDX", "MII",
"10baseT(forced)", "MII 100baseTx", "MII 100baseTx-FDX", "MII 100baseT4",
"MII 100baseFx-HDX", "MII 100baseFx-FDX", "Home-PNA 1Mbps", "Invalid-19",
"","","","", "","","","", "","","","Transceiver reset",
}

Definition at line 55 of file tulip_core.c.

int tulip_debug = TULIP_DEBUG

Definition at line 122 of file tulip_core.c.

const char tulip_media_cap[32]
Initial value:
=
{0,0,0,16, 3,19,16,24, 27,4,7,5, 0,20,23,20, 28,31,0,0, }

Definition at line 256 of file tulip_core.c.

struct tulip_chip_table tulip_tbl[]

Definition at line 142 of file tulip_core.c.