0001
0002
0003
0004
0005
0006 #define MAX_FW_PKT_SIZE 64
0007
0008 extern int dual_tuner;
0009
0010 struct as10x_raw_fw_pkt {
0011 unsigned char address[4];
0012 unsigned char data[MAX_FW_PKT_SIZE - 6];
0013 } __packed;
0014
0015 struct as10x_fw_pkt_t {
0016 union {
0017 unsigned char request[2];
0018 unsigned char length[2];
0019 } __packed u;
0020 struct as10x_raw_fw_pkt raw;
0021 } __packed;
0022
0023 #ifdef __KERNEL__
0024 int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap);
0025 #endif