summaryrefslogtreecommitdiff
path: root/include/ioports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ioports.h')
-rw-r--r--include/ioports.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ioports.h b/include/ioports.h
index d7e19e195b..cfba667cab 100644
--- a/include/ioports.h
+++ b/include/ioports.h
@@ -53,3 +53,13 @@ typedef struct {
* like the table in the 8260UM (and in the hymod manuals).
*/
extern const iop_conf_t iop_conf_tab[4][32];
+
+typedef struct {
+ unsigned char port;
+ unsigned char pin;
+ int dir;
+ int open_drain;
+ int assign;
+} qe_iop_conf_t;
+
+#define QE_IOP_TAB_END (-1)