* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
/* Lists of valid VID/PID pairs
*/
-static const uint16_t osbdm_vid[] = { 0x15a2, 0x15a2, 0 };
-static const uint16_t osbdm_pid[] = { 0x0042, 0x0058, 0 };
+static const uint16_t osbdm_vid[] = { 0x15a2, 0x15a2, 0x15a2, 0 };
+static const uint16_t osbdm_pid[] = { 0x0042, 0x0058, 0x005e, 0 };
struct osbdm {
struct jtag_libusb_device_handle *devh; /* USB handle */
- uint8_t buffer[OSBDM_USB_BUFSIZE]; /* Data to send and recieved */
+ uint8_t buffer[OSBDM_USB_BUFSIZE]; /* Data to send and receive */
int count; /* Count data to send and to read */
};
return ERROR_OK;
}
-static int osbdm_khz(int khz, int *speed)
-{
- *speed = khz;
- return ERROR_OK;
-}
-
-static int osbdm_speed(int speed)
-{
- return ERROR_OK;
-}
-
-static int osbdm_speed_div(int speed, int *khz)
-{
- *khz = speed;
- return ERROR_OK;
-}
-
struct jtag_interface osbdm_interface = {
.name = "osbdm",
.transports = jtag_only,
.execute_queue = osbdm_execute_queue,
- .khz = osbdm_khz,
- .speed = osbdm_speed,
- .speed_div = osbdm_speed_div,
-
.init = osbdm_init,
.quit = osbdm_quit
};