no one uses xpcu.h, and the definitions in it do not match the actual xpc cable code, so punt it

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1730 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 15 years ago
parent bbfe1c61c0
commit 14db4d2976

@ -1,3 +1,8 @@
2010-01-24 Mike Frysinger <vapier@gentoo.org>
* include/urjtag/xpcu.h: Remove unused header.
* include/urjtag/urjtag.h.in, include/urjtag/Makefile.am: Remove xpcu.h.
2010-01-24 Arnim Laeuger <arniml>
* src/tap/usbconn/libftd2xx.c: const urj_tap_usbconn_ftd2xx_driver

@ -54,5 +54,4 @@ pkginclude_HEADERS = \
svf.h \
types.h \
urjtag.h \
usbconn.h \
xpcu.h
usbconn.h

@ -61,7 +61,6 @@
#include "tap_state.h"
#if HAVE_LIBUSB
#include "usbconn.h"
#include "xpcu.h"
#endif
#endif /* URJ_URJTAG_H */

@ -1,49 +0,0 @@
/*
* $Id$
*
* Xilinx Platform Cable USB functions
* 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 <kawk>, 2008
*
*/
#ifndef URJ_XPCU_H
#define URJ_XPCU_H 1
#include <stdint.h>
#include <usb.h>
#define URJ_XPCU_VID 0x03FD
#define URJ_XPCU_PID 0x0008
struct usb_device *find_xpcu (void);
int xpcu_init (void);
int xpcu_close (struct usb_dev_handle *xpcu);
int xpcu_request_28 (struct usb_dev_handle *xpcu, int value);
int xpcu_raise_ioa5 (struct usb_dev_handle *xpcu);
int xpcu_write_gpio (struct usb_dev_handle *xpcu, uint8_t bits);
int xpcu_read_gpio (struct usb_dev_handle *xpcu, uint8_t *bits);
int xpcu_bitrev_test (struct usb_dev_handle *xpcu);
int xpcu_select_gpio (struct usb_dev_handle *xpcu, int select);
int xpcu_open (struct usb_dev_handle **xpcu);
int xpcu_request_a6 (struct usb_dev_handle *xpcu, int nibbles, uint8_t *xmit,
int inlen, uint8_t *recv);
#endif /* URJ_XPCU_H */
Loading…
Cancel
Save