|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/errno.h>#include <linux/slab.h>#include <linux/module.h>#include <linux/init.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 | EMI26_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ |
| #define | EMI26_PRODUCT_ID 0x0100 /* EMI 2|6 without firmware */ |
| #define | EMI26B_PRODUCT_ID 0x0102 /* EMI 2|6 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 (emi26_driver) | |
| MODULE_AUTHOR ("Tapio Laxström") | |
| MODULE_DESCRIPTION ("Emagic EMI 2|6 firmware loader.") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_FIRMWARE ("emi26/loader.fw") | |
| MODULE_FIRMWARE ("emi26/bitstream.fw") | |
| MODULE_FIRMWARE ("emi26/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 EMI26_PRODUCT_ID 0x0100 /* EMI 2|6 without firmware */ |
| #define EMI26_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ |
| #define EMI26B_PRODUCT_ID 0x0102 /* EMI 2|6 without firmware */ |
| #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_DEVICE_TABLE | ( | usb | , |
| id_table | |||
| ) |
| MODULE_FIRMWARE | ( | "emi26/loader.fw" | ) |
| MODULE_FIRMWARE | ( | "emi26/bitstream.fw" | ) |
| MODULE_FIRMWARE | ( | "emi26/firmware.fw" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_usb_driver | ( | emi26_driver | ) |
1.8.2