summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/ixp425/ixp425_qmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/xscale/ixp425/ixp425_qmgr.h')
-rw-r--r--sys/arm/xscale/ixp425/ixp425_qmgr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/xscale/ixp425/ixp425_qmgr.h b/sys/arm/xscale/ixp425/ixp425_qmgr.h
index af021d5..f593fd1 100644
--- a/sys/arm/xscale/ixp425/ixp425_qmgr.h
+++ b/sys/arm/xscale/ixp425/ixp425_qmgr.h
@@ -229,8 +229,10 @@
#define IX_QMGR_ENTRY2_OFFSET 1
#define IX_QMGR_ENTRY4_OFFSET 3
+typedef void qconfig_hand_t(int, void *);
+
int ixpqmgr_qconfig(int qId, int qSizeInWords, int ne, int nf, int srcSel,
- void (*cb)(int, void *), void *cbarg);
+ qconfig_hand_t *cb, void *cbarg);
int ixpqmgr_qwrite(int qId, uint32_t entry);
int ixpqmgr_qread(int qId, uint32_t *entry);
int ixpqmgr_qreadm(int qId, uint32_t n, uint32_t *p);
OpenPOWER on IntegriCloud