|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/errno.h>#include <linux/slab.h>#include <linux/init.h>#include <linux/module.h>#include <linux/usb.h>#include <linux/delay.h>#include <linux/firmware.h>#include <linux/ihex.h>Go to the source code of this file.
Macros | |
| #define | SPDIF /* if you want SPDIF comment next line */ |
| #define | FIRMWARE_FW "emi62/spdif.fw" |
| #define | EMI62_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ |
| #define | EMI62_PRODUCT_ID 0x0110 /* EMI 6|2m without firmware */ |
| #define | ANCHOR_LOAD_INTERNAL 0xA0 /* Vendor specific request code for Anchor Upload/Download (This one is implemented in the core) */ |
| #define | ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware */ |
| #define | ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Emagic extension */ |
| #define | MAX_INTERNAL_ADDRESS 0x1B3F /* This is the highest internal RAM address for the AN2131Q */ |
| #define | CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ |
| #define | INTERNAL_RAM(address) (address <= MAX_INTERNAL_ADDRESS) |
| #define | FW_LOAD_SIZE 1023 |
Functions | |
| MODULE_DEVICE_TABLE (usb, id_table) | |
| module_usb_driver (emi62_driver) | |
| MODULE_AUTHOR ("Tapio Laxström") | |
| MODULE_DESCRIPTION ("Emagic EMI 6|2m firmware loader.") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_FIRMWARE ("emi62/loader.fw") | |
| MODULE_FIRMWARE ("emi62/bitstream.fw") | |
| MODULE_FIRMWARE (FIRMWARE_FW) | |
| #define ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware */ |
| #define ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Emagic extension */ |
| #define ANCHOR_LOAD_INTERNAL 0xA0 /* Vendor specific request code for Anchor Upload/Download (This one is implemented in the core) */ |
| #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ |
| #define EMI62_PRODUCT_ID 0x0110 /* EMI 6|2m without firmware */ |
| #define EMI62_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ |
| #define INTERNAL_RAM | ( | address | ) | (address <= MAX_INTERNAL_ADDRESS) |
| #define MAX_INTERNAL_ADDRESS 0x1B3F /* This is the highest internal RAM address for the AN2131Q */ |
| MODULE_AUTHOR | ( | "Tapio Laxström" | ) |
| MODULE_DESCRIPTION | ( | "Emagic EMI 6|2m firmware loader." | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| id_table | |||
| ) |
| MODULE_FIRMWARE | ( | "emi62/loader.fw" | ) |
| MODULE_FIRMWARE | ( | "emi62/bitstream.fw" | ) |
| MODULE_FIRMWARE | ( | FIRMWARE_FW | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_usb_driver | ( | emi62_driver | ) |
1.8.2