summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/pic.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
committerJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
commit71fc99d006f2347a356c5339905593f64ff902ec (patch)
tree36c141adca7a2e5cf2f84660b5a2e3543f1dfaba /firmware/microblaze/lib/pic.h
parent434ee07c4ba1ce9faee8ecf3a309042ca424cbda (diff)
downloaduhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.gz
uhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.bz2
uhd-71fc99d006f2347a356c5339905593f64ff902ec.zip
usrp2: got fw working on usrp2+nseries (crosses fingers)
The abort issue seemed to be cause by the listeners table not being initialized. Also gave the pic handler the initialization works to be consistent but not needed as it was static initialized. And finally, doubly set the packet router handshake ctrl before entering the claim calls (seemed to fix the lockup, perhaps a bad init state?)
Diffstat (limited to 'firmware/microblaze/lib/pic.h')
-rw-r--r--firmware/microblaze/lib/pic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/pic.h b/firmware/microblaze/lib/pic.h
index 6cbffb441..cfdf721f4 100644
--- a/firmware/microblaze/lib/pic.h
+++ b/firmware/microblaze/lib/pic.h
@@ -24,7 +24,7 @@ typedef void (*irq_handler_t)(unsigned irq);
void pic_init(void);
void pic_register_handler(unsigned irq, irq_handler_t handler);
-void nop_handler(unsigned irq); // default handler does nothing
+void pic_nop_handler(unsigned irq); // default handler does nothing
// FIXME inline assembler
int pic_disable_interrupts();