summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-23 15:44:32 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-23 15:44:32 +0000
commit83a235b30617d053234a32ba23ca39e20e6dd92b (patch)
treef8c40be6d16bc1389dd114fae35bf209cdd564ab
parent071e2e6fc8b6ad9a407ad3bfc26b8c189d633625 (diff)
add interrupt priority definitions
git-svn-id: https://svn.openpcd.org:2342/trunk@24 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/src/openpcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openpcd/firmware/src/openpcd.h b/openpcd/firmware/src/openpcd.h
index cf67467..ddd3370 100644
--- a/openpcd/firmware/src/openpcd.h
+++ b/openpcd/firmware/src/openpcd.h
@@ -15,6 +15,10 @@
#define OPENPCD_RC632_IRQ AT91C_ID_IRQ1
#define OPENPCD_RC632_RESET AT91C_PIO_PA29
+#define OPENPCD_IRQ_PRIO_SPI AT91C_AIC_PRIOR_HIGHEST
+#define OPENPCD_IRQ_PRIO_UDP (AT91C_AIC_PRIOR_LOWEST+1)
+#define OPENPCD_IRQ_PRIO_RC632 AT91C_AIC_PRIOR_LOWEST
+
#define MAX_REQSIZE 256
#define MAX_HDRSIZE 8
personal git repositories of Harald Welte. Your mileage may vary