summaryrefslogtreecommitdiff
path: root/xpp/astribank_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/astribank_usb.h')
-rw-r--r--xpp/astribank_usb.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/xpp/astribank_usb.h b/xpp/astribank_usb.h
index b3b4d79..b65c1db 100644
--- a/xpp/astribank_usb.h
+++ b/xpp/astribank_usb.h
@@ -23,7 +23,8 @@
*/
#include <stdio.h>
-#include <usb.h>
+#include <xusb.h>
+#include <xtalk.h>
#include "mpp.h"
/*
@@ -63,14 +64,12 @@ enum eeprom_burn_state {
};
struct astribank_device {
- struct usb_device *dev;
+ struct xusb *xusb;
+ struct xtalk_device *xtalk_dev;
usb_dev_handle *handle;
int my_interface_num;
int my_ep_out;
int my_ep_in;
- char iManufacturer[BUFSIZ];
- char iProduct[BUFSIZ];
- char iSerialNumber[BUFSIZ];
char iInterface[BUFSIZ];
int is_usb2;
enum eeprom_type eeprom_type;
@@ -79,7 +78,6 @@ struct astribank_device {
uint8_t mpp_proto_version;
struct eeprom_table *eeprom;
struct firmware_versions fw_versions;
- const struct interface_type *fwtype;
uint16_t tx_sequenceno;
};