Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sunbmac.c File Reference
#include <linux/module.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/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/errno.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/gfp.h>
#include <asm/auxio.h>
#include <asm/byteorder.h>
#include <asm/dma.h>
#include <asm/idprom.h>
#include <asm/io.h>
#include <asm/openprom.h>
#include <asm/oplib.h>
#include <asm/pgtable.h>
#include "sunbmac.h"

Go to the source code of this file.

Macros

#define DRV_NAME   "sunbmac"
 
#define DRV_VERSION   "2.1"
 
#define DRV_RELDATE   "August 26, 2008"
 
#define DRV_AUTHOR   "David S. Miller ([email protected])"
 
#define DP(x)
 
#define DTX(x)
 
#define DIRQ(x)
 
#define DEFAULT_JAMSIZE   4 /* Toe jam */
 
#define QEC_RESET_TRIES   200
 
#define TX_RESET_TRIES   32
 
#define RX_RESET_TRIES   32
 
#define MGMT_CLKON   (MGMT_PAL_INT_MDIO|MGMT_PAL_EXT_MDIO|MGMT_PAL_OENAB|MGMT_PAL_DCLOCK)
 
#define MGMT_CLKOFF   (MGMT_PAL_INT_MDIO|MGMT_PAL_EXT_MDIO|MGMT_PAL_OENAB)
 

Functions

 MODULE_VERSION (DRV_VERSION)
 
 MODULE_AUTHOR (DRV_AUTHOR)
 
 MODULE_DESCRIPTION ("Sun BigMAC 100baseT ethernet driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (of, bigmac_sbus_match)
 
 module_platform_driver (bigmac_sbus_driver)
 

Macro Definition Documentation

#define DEFAULT_JAMSIZE   4 /* Toe jam */

Definition at line 76 of file sunbmac.c.

#define DIRQ (   x)

Definition at line 73 of file sunbmac.c.

#define DP (   x)

Definition at line 61 of file sunbmac.c.

#define DRV_AUTHOR   "David S. Miller ([email protected])"

Definition at line 44 of file sunbmac.c.

#define DRV_NAME   "sunbmac"

Definition at line 41 of file sunbmac.c.

#define DRV_RELDATE   "August 26, 2008"

Definition at line 43 of file sunbmac.c.

#define DRV_VERSION   "2.1"

Definition at line 42 of file sunbmac.c.

#define DTX (   x)

Definition at line 67 of file sunbmac.c.

Definition at line 254 of file sunbmac.c.

Definition at line 253 of file sunbmac.c.

#define QEC_RESET_TRIES   200

Definition at line 78 of file sunbmac.c.

#define RX_RESET_TRIES   32

Definition at line 127 of file sunbmac.c.

#define TX_RESET_TRIES   32

Definition at line 126 of file sunbmac.c.

Function Documentation

MODULE_AUTHOR ( DRV_AUTHOR  )
MODULE_DESCRIPTION ( "Sun BigMAC 100baseT ethernet driver"  )
MODULE_DEVICE_TABLE ( of  ,
bigmac_sbus_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( bigmac_sbus_driver  )
MODULE_VERSION ( DRV_VERSION  )