Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
Adapter.h File Reference
#include "Debug.h"

Go to the source code of this file.

Data Structures

struct  bcm_leader
 
struct  bcm_packettosend
 
struct  bcm_control_packet
 
struct  bcm_link_request
 
union  _U_IP_ADDRESS
 
struct  bcm_hdr_suppression_contextinfo
 
struct  bcm_classifier_rule
 
struct  bcm_fragmented_packet_info
 
struct  bcm_packet_info
 
struct  bcm_tarang_data
 
struct  bcm_targetdsx_buffer
 
struct  bcm_mini_adapter
 
struct  bcm_eth_header
 
struct  bcm_firmware_info
 
struct  bcm_ddr_setting
 

Macros

#define MAX_FRAGMENTEDIP_CLASSIFICATION_ENTRIES   256
 
#define MAX_IP_RANGE_LENGTH   4
 
#define MAX_PORT_RANGE   4
 
#define MAX_PROTOCOL_LENGTH   32
 
#define IPV6_ADDRESS_SIZEINBYTES   0x10
 
#define GET_BCM_ADAPTER(net_dev)   netdev_priv(net_dev)
 
#define BCM_REQUEST_READ   0x2
 
#define BCM_REQUEST_WRITE   0x1
 
#define EP2_MPS_REG   0x0F0110A0
 
#define EP2_MPS   0x40
 
#define EP2_CFG_REG   0x0F0110A8
 
#define EP2_CFG_INT   0x27
 
#define EP2_CFG_BULK   0x25
 
#define EP4_MPS_REG   0x0F0110F0
 
#define EP4_MPS   0x8C
 
#define EP4_CFG_REG   0x0F0110F8
 
#define ISO_MPS_REG   0x0F0110C8
 
#define ISO_MPS   0x00000000
 
#define EP1   0
 
#define EP2   1
 
#define EP3   2
 
#define EP4   3
 
#define EP5   4
 
#define EP6   5
 

Typedefs

typedef union _U_IP_ADDRESS U_IP_ADDRESS
 
typedef int(* FP_FLASH_WRITE )(struct bcm_mini_adapter *, UINT, PVOID)
 
typedef int(* FP_FLASH_WRITE_STATUS )(struct bcm_mini_adapter *, UINT, PVOID)
 

Enumerations

enum  bcm_einterface_setting { DEFAULT_SETTING_0 = 0, ALTERNATE_SETTING_1 = 1 }
 

Functions

int InitAdapter (struct bcm_mini_adapter *psAdapter)
 

Variables

struct bcm_leader __packed
 
struct net_devicegblpnetdev
 

Macro Definition Documentation

#define BCM_REQUEST_READ   0x2

Definition at line 426 of file Adapter.h.

#define BCM_REQUEST_WRITE   0x1

Definition at line 427 of file Adapter.h.

#define EP1   0

Definition at line 443 of file Adapter.h.

#define EP2   1

Definition at line 444 of file Adapter.h.

#define EP2_CFG_BULK   0x25

Definition at line 433 of file Adapter.h.

#define EP2_CFG_INT   0x27

Definition at line 432 of file Adapter.h.

#define EP2_CFG_REG   0x0F0110A8

Definition at line 431 of file Adapter.h.

#define EP2_MPS   0x40

Definition at line 429 of file Adapter.h.

#define EP2_MPS_REG   0x0F0110A0

Definition at line 428 of file Adapter.h.

#define EP3   2

Definition at line 445 of file Adapter.h.

#define EP4   3

Definition at line 446 of file Adapter.h.

#define EP4_CFG_REG   0x0F0110F8

Definition at line 438 of file Adapter.h.

#define EP4_MPS   0x8C

Definition at line 436 of file Adapter.h.

#define EP4_MPS_REG   0x0F0110F0

Definition at line 435 of file Adapter.h.

#define EP5   4

Definition at line 447 of file Adapter.h.

#define EP6   5

Definition at line 448 of file Adapter.h.

#define GET_BCM_ADAPTER (   net_dev)    netdev_priv(net_dev)

Definition at line 398 of file Adapter.h.

#define IPV6_ADDRESS_SIZEINBYTES   0x10

Definition at line 36 of file Adapter.h.

#define ISO_MPS   0x00000000

Definition at line 441 of file Adapter.h.

#define ISO_MPS_REG   0x0F0110C8

Definition at line 440 of file Adapter.h.

#define MAX_FRAGMENTEDIP_CLASSIFICATION_ENTRIES   256

Definition at line 7 of file Adapter.h.

#define MAX_IP_RANGE_LENGTH   4

Definition at line 33 of file Adapter.h.

#define MAX_PORT_RANGE   4

Definition at line 34 of file Adapter.h.

#define MAX_PROTOCOL_LENGTH   32

Definition at line 35 of file Adapter.h.

Typedef Documentation

typedef int(* FP_FLASH_WRITE)(struct bcm_mini_adapter *, UINT, PVOID)

Definition at line 211 of file Adapter.h.

typedef int(* FP_FLASH_WRITE_STATUS)(struct bcm_mini_adapter *, UINT, PVOID)

Definition at line 213 of file Adapter.h.

typedef union _U_IP_ADDRESS U_IP_ADDRESS

Enumeration Type Documentation

Enumerator:
DEFAULT_SETTING_0 
ALTERNATE_SETTING_1 

Definition at line 450 of file Adapter.h.

Function Documentation

int InitAdapter ( struct bcm_mini_adapter psAdapter)

Definition at line 27 of file Misc.c.

Variable Documentation

struct net_device* gblpnetdev

Definition at line 3 of file Bcmnet.c.