x86/PCI: use host bridge _CRS info on ASUS M2V-MX SE
[linux-btrfs-devel.git] / drivers / staging / rtl8192u / r819xU_firmware.h
bloba4bceeef33d31cfbf24efe9fb29700451d030948
1 #ifndef __INC_FIRMWARE_H
2 #define __INC_FIRMWARE_H
4 #define RTL8190_CPU_START_OFFSET 0x80
5 /* TODO: this definition is TBD */
6 //#define USB_HWDESC_HEADER_LEN 0
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
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;
21 typedef enum _opt_rst_type{
22 OPT_SYSTEM_RESET = 0,
23 OPT_FIRMWARE_RESET = 1,
24 }opt_rst_type_e;
26 #endif