X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=fx2%2Fusb_descriptors.h;h=cbf961087d00b9f51deafa7a2fda6fae97dd6025;hb=bfdb50c8dfa96ad8a804b152c92c5a5880c8bdb7;hp=f4a2faf1e9146cffdd85f64dcebcb3a3ab4a0163;hpb=750d9b37905b7a1cf9e8708c4688f3342c8be133;p=fx2fw-sdcc diff --git a/fx2/usb_descriptors.h b/fx2/usb_descriptors.h index f4a2faf..cbf9610 100644 --- a/fx2/usb_descriptors.h +++ b/fx2/usb_descriptors.h @@ -1,76 +1,38 @@ /* -*- c++ -*- */ - /*----------------------------------------------------------------------------- - * USB descriptor references - *----------------------------------------------------------------------------- - * Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2, - * Copyright 2003 Free Software Foundation, Inc. - *----------------------------------------------------------------------------- - * This code is part of usbjtag. usbjtag is free software; you can redistribute - * it and/or modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the License, - * or (at your option) any later version. usbjtag is distributed in the hope - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. You should have received a - * copy of the GNU General Public License along with this program in the file - * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin - * St, Fifth Floor, Boston, MA 02110-1301 USA - *----------------------------------------------------------------------------- - */ - - extern xdata const char high_speed_device_descr[]; - extern xdata const char high_speed_devqual_descr[]; - extern xdata const char high_speed_config_descr[]; - - extern xdata const char full_speed_device_descr[]; - extern xdata const char full_speed_devqual_descr[]; - extern xdata const char full_speed_config_descr[]; - - extern xdata unsigned char nstring_descriptors; - extern xdata char * xdata string_descriptors[]; - - /* - * We patch these locations with info read from the usrp config eeprom - */ - extern xdata char usb_desc_hw_rev_binary_patch_location_0[]; - extern xdata char usb_desc_hw_rev_binary_patch_location_1[]; - extern xdata char usb_desc_hw_rev_ascii_patch_location_0[]; - extern xdata char usb_desc_serial_number_ascii[]; -