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

Go to the source code of this file.

Data Structures

struct  LTV_INFO_STRUCT
 
struct  plugrecord
 
struct  stringrecord
 
struct  exportrecord
 
struct  memimage
 

Macros

#define GET_INFO(pp)   hcf_get_info(ifbp, (LTVP)pp)
 
#define PUT_INFO(pp)   hcf_put_info(ifbp, (LTVP)pp)
 
#define CODEMASK   0x0000FFFFL /* Codemask for plug records */
 
#define DHF_ERR_INCOMP_FW   0x40 /* Image not compatible with NIC */
 
#define MAX_DEBUGSTRINGS   1024
 
#define MAX_DEBUGSTRING_LEN   82
 
#define MAX_DEBUGEXPORTS   2048
 
#define MAX_DEBUGEXPORT_LEN   12
 
#define FWSTRINGS_FUNCTION   0
 
#define FWEXPORTS_FUNCTION   1
 

Typedefs

typedef struct LTV_INFO_STRUCTLTV_INFO_STRUCT_PTR
 

Functions

EXTERN_C int dhf_download_fw (void *ifbp, memimage *fw)
 
EXTERN_C int dhf_download_binary (memimage *fw)
 
EXTERN_C hcf_16find_record_in_pda (hcf_16 *pdap, hcf_16 code)
 

Macro Definition Documentation

#define CODEMASK   0x0000FFFFL /* Codemask for plug records */

Definition at line 96 of file dhf.h.

#define DHF_ERR_INCOMP_FW   0x40 /* Image not compatible with NIC */

Definition at line 100 of file dhf.h.

#define FWEXPORTS_FUNCTION   1

Definition at line 163 of file dhf.h.

#define FWSTRINGS_FUNCTION   0

Definition at line 162 of file dhf.h.

#define GET_INFO (   pp)    hcf_get_info(ifbp, (LTVP)pp)

Definition at line 90 of file dhf.h.

#define MAX_DEBUGEXPORT_LEN   12

Definition at line 154 of file dhf.h.

#define MAX_DEBUGEXPORTS   2048

Definition at line 153 of file dhf.h.

#define MAX_DEBUGSTRING_LEN   82

Definition at line 137 of file dhf.h.

#define MAX_DEBUGSTRINGS   1024

Definition at line 136 of file dhf.h.

#define PUT_INFO (   pp)    hcf_put_info(ifbp, (LTVP)pp)

Definition at line 91 of file dhf.h.

Typedef Documentation

Function Documentation

EXTERN_C int dhf_download_binary ( memimage fw)

Definition at line 259 of file dhf.c.

EXTERN_C int dhf_download_fw ( void ifbp,
memimage fw 
)

Definition at line 342 of file dhf.c.

EXTERN_C hcf_16* find_record_in_pda ( hcf_16 pdap,
hcf_16  code 
)