Loading...
#ifndef __INC_FIRMWARE_H #define __INC_FIRMWARE_H #define RTL8190_CPU_START_OFFSET 0x80 /* TODO: this definition is TBD */ //#define USB_HWDESC_HEADER_LEN 0 /* It should be double word alignment */ //#if DEV_BUS_TYPE==PCI_INTERFACE //#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) 4*(v/4) - 8 //#else #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) (4*(v/4) - 8 - USB_HWDESC_HEADER_LEN) //#endif typedef enum _firmware_init_step { FW_INIT_STEP0_BOOT = 0, FW_INIT_STEP1_MAIN = 1, FW_INIT_STEP2_DATA = 2, } firmware_init_step_e; typedef enum _opt_rst_type { OPT_SYSTEM_RESET = 0, OPT_FIRMWARE_RESET = 1, } opt_rst_type_e; #endif |