summaryrefslogtreecommitdiff
path: root/firmware/src/os/pcd_enumerate.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/pcd_enumerate.h')
-rw-r--r--firmware/src/os/pcd_enumerate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/src/os/pcd_enumerate.h b/firmware/src/os/pcd_enumerate.h
index acec89c..08d26de 100644
--- a/firmware/src/os/pcd_enumerate.h
+++ b/firmware/src/os/pcd_enumerate.h
@@ -17,7 +17,7 @@
struct req_ctx;
extern void udp_open(void);
-extern int udp_refill_ep(int ep);
+extern int __ramfunc udp_refill_ep(int ep);
extern void udp_unthrottle(void);
extern void udp_reset(void);
@@ -31,7 +31,10 @@ struct ep_ctx {
struct udp_pcd {
AT91PS_UDP pUdp;
+ enum usb_device_state state;
unsigned char cur_config;
+ unsigned char cur_interface;
+ unsigned char cur_altsett;
unsigned int cur_rcv_bank;
struct ep_ctx ep[4];
};
personal git repositories of Harald Welte. Your mileage may vary