version 4.2.0
[fx2fw-sdcc] / fx2 / usb_descriptors.h
1 /* -*- c++ -*- */\r
2 /*-----------------------------------------------------------------------------\r
3  * USB descriptor references\r
4  *-----------------------------------------------------------------------------\r
5  * Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,\r
6  * Copyright 2003 Free Software Foundation, Inc.\r
7  *-----------------------------------------------------------------------------\r
8  * This code is part of usbjtag. usbjtag is free software; you can redistribute\r
9  * it and/or modify it under the terms of the GNU General Public License as\r
10  * published by the Free Software Foundation; either version 2 of the License,\r
11  * or (at your option) any later version. usbjtag is distributed in the hope\r
12  * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied\r
13  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14  * GNU General Public License for more details.  You should have received a\r
15  * copy of the GNU General Public License along with this program in the file\r
16  * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin\r
17  * St, Fifth Floor, Boston, MA  02110-1301  USA\r
18  *-----------------------------------------------------------------------------\r
19  */\r
20 \r
21 extern xdata const char high_speed_device_descr[];\r
22 extern xdata const char high_speed_devqual_descr[];\r
23 extern xdata const char high_speed_config_descr[];\r
24 \r
25 extern xdata const char full_speed_device_descr[];\r
26 extern xdata const char full_speed_devqual_descr[];\r
27 extern xdata const char full_speed_config_descr[];\r
28 \r
29 extern xdata unsigned char nstring_descriptors;\r
30 extern xdata char * xdata string_descriptors[];\r
31 \r
32 /*\r
33  * We patch these locations with info read from the usrp config eeprom\r
34  */\r
35 extern xdata char usb_desc_hw_rev_binary_patch_location_0[];\r
36 extern xdata char usb_desc_hw_rev_binary_patch_location_1[];\r
37 extern xdata char usb_desc_hw_rev_ascii_patch_location_0[];\r
38 extern xdata char usb_desc_serial_number_ascii[];\r