From 0d69fadb7169769d9e429450c17a68bac2cce852 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 4 Oct 2006 01:35:08 +0000 Subject: move udp irq/refill back to flash for now git-svn-id: https://svn.openpcd.org:2342/trunk@256 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/os/pcd_enumerate.c | 6 +++--- 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); -- cgit v1.2.3