diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-10-04 01:35:08 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-10-04 01:35:08 +0000 |
commit | 0d69fadb7169769d9e429450c17a68bac2cce852 (patch) | |
tree | ed29904a28fbe0d35a89086ef33e188e5d970624 /firmware | |
parent | 904f944d0dc6c46262b33a42f67f1be362bbb844 (diff) |
move udp irq/refill back to flash for now
git-svn-id: https://svn.openpcd.org:2342/trunk@256 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/src/os/pcd_enumerate.c | 6 | ||||
-rw-r--r-- | firmware/src/os/pcd_enumerate.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/src/os/pcd_enumerate.c b/firmware/src/os/pcd_enumerate.c index 5ef8143..24b2874 100644 --- a/firmware/src/os/pcd_enumerate.c +++ b/firmware/src/os/pcd_enumerate.c @@ -209,7 +209,7 @@ void udp_unthrottle(void) pUDP->UDP_IER = AT91C_UDP_EPINT1; } -static int __ramfunc __udp_refill_ep(int ep) +static int __udp_refill_ep(int ep) { u_int16_t i; AT91PS_UDP pUDP = upcd.pUdp; @@ -285,7 +285,7 @@ static int __ramfunc __udp_refill_ep(int ep) return 1; } -int __ramfunc udp_refill_ep(int ep) +int udp_refill_ep(int ep) { unsigned long flags; int ret; @@ -297,7 +297,7 @@ int __ramfunc udp_refill_ep(int ep) return ret; } -static void __ramfunc udp_irq(void) +static void udp_irq(void) { u_int32_t csr; AT91PS_UDP pUDP = upcd.pUdp; diff --git a/firmware/src/os/pcd_enumerate.h b/firmware/src/os/pcd_enumerate.h index 08d26de..b2af3a1 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 __ramfunc udp_refill_ep(int ep); +extern int udp_refill_ep(int ep); extern void udp_unthrottle(void); extern void udp_reset(void); |