Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
rtl8192u
r819xU_firmware.h
Go to the documentation of this file.
1
#ifndef __INC_FIRMWARE_H
2
#define __INC_FIRMWARE_H
3
4
#define RTL8190_CPU_START_OFFSET 0x80
5
/* TODO: this definition is TBD */
6
//#define USB_HWDESC_HEADER_LEN 0
7
8
/* It should be double word alignment */
9
//#if DEV_BUS_TYPE==PCI_INTERFACE
10
//#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) 4*(v/4) - 8
11
//#else
12
#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) (4*(v/4) - 8 - USB_HWDESC_HEADER_LEN)
13
//#endif
14
15
typedef
enum
_firmware_init_step
{
16
FW_INIT_STEP0_BOOT
= 0,
17
FW_INIT_STEP1_MAIN
= 1,
18
FW_INIT_STEP2_DATA
= 2,
19
}
firmware_init_step_e
;
20
21
typedef
enum
_opt_rst_type
{
22
OPT_SYSTEM_RESET
= 0,
23
OPT_FIRMWARE_RESET
= 1,
24
}
opt_rst_type_e
;
25
26
#endif
27
Generated on Thu Jan 10 2013 14:31:04 for Linux Kernel by
1.8.2