Move include/urjtag/usbconn/*.h to src/tap/usbconn/; move urj_cmd_params() and urj_cmd_get_number() to src/cmd/cmd.h. These are in fact local includes.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1637 b68d4a1b-bc3d-0410-92ed-d4ac073336b7master
parent
ebb0861971
commit
419ce7bd36
@ -1,39 +0,0 @@
|
||||
/*
|
||||
* $Id$
|
||||
*
|
||||
* This program 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.
|
||||
*
|
||||
* This program 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; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
* 02111-1307, USA.
|
||||
*
|
||||
* Written by A. Laeuger, 2008
|
||||
*
|
||||
*/
|
||||
|
||||
/* @@@@ RFHH candidate for internal include file? */
|
||||
|
||||
#ifndef URJ_USBCONN_LIBFTDX_H
|
||||
#define URJ_USBCONN_LIBFTDX_H 1
|
||||
|
||||
#define URJ_USBCONN_FTDX_MAXSEND 4096
|
||||
#define URJ_USBCONN_FTDX_MAXSEND_MPSSE (64 * 1024)
|
||||
|
||||
/* Maximum chunk to receive from ftdi/ftd2xx driver.
|
||||
Larger values might speed up comm, but there's an upper limit
|
||||
when too many bytes are sent and the underlying libftdi or libftd2xx
|
||||
don't fetch the returned data in time -> deadlock */
|
||||
#define URJ_USBCONN_FTDI_MAXRECV ( 4 * 64)
|
||||
#define URJ_USBCONN_FTD2XX_MAXRECV (63 * 64)
|
||||
#define URJ_USBCONN_FTDX_MAXRECV (URJ_USBCONN_FTD2XX_MAXRECV < URJ_USBCONN_FTDI_MAXRECV ? URJ_USBCONN_FTD2XX_MAXRECV : URJ_USBCONN_FTDI_MAXRECV)
|
||||
|
||||
#endif
|
@ -1,41 +0,0 @@
|
||||
/*
|
||||
* $Id$
|
||||
*
|
||||
* Link driver for accessing USB devices via libusb
|
||||
*
|
||||
* Copyright (C) 2008 K. Waschk
|
||||
*
|
||||
* This program 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.
|
||||
*
|
||||
* This program 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; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
* 02111-1307, USA.
|
||||
*
|
||||
* Written by Kolja Waschk, 2008
|
||||
*
|
||||
*/
|
||||
|
||||
/* @@@@ RFHH candidate for internal include file? */
|
||||
|
||||
#ifndef URJ_USBCONN_LIBUSB_H
|
||||
#define URJ_USBCONN_LIBUSB_H 1
|
||||
|
||||
#include <usb.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
struct usb_device *dev;
|
||||
struct usb_dev_handle *handle;
|
||||
void *data;
|
||||
} urj_usbconn_libusb_param_t;
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue