summaryrefslogtreecommitdiff
path: root/firmware/src/os/pcd_enumerate.h
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-30 22:12:08 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-30 22:12:08 +0000
commit9f45ae4e59bda5d7330f34f7c966cad51dffbd1a (patch)
treec866a995720fecc61afbad4751ab48e8a81cfc3b /firmware/src/os/pcd_enumerate.h
parente9902c568091cb23c9d3466559124ae1784afb70 (diff)
- more accurate (and USB compliant) state transitions
- make gcc spit a bit less warnings git-svn-id: https://svn.openpcd.org:2342/trunk@235 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
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