summaryrefslogtreecommitdiff
path: root/sys/src/9/zynq/dat.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-06 18:29:39 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-06 18:29:39 +0100
commitdc6d81cc7e90b1b4482d69498036860f576cd43b (patch)
treedd7cde0c65d1e8b63dc17738e64bca8d2ddc01ea /sys/src/9/zynq/dat.h
parent374d4ec2c154cbec0094f124f2173b685adbabd5 (diff)
zynq: sdio support
Diffstat (limited to 'sys/src/9/zynq/dat.h')
-rw-r--r--sys/src/9/zynq/dat.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/src/9/zynq/dat.h b/sys/src/9/zynq/dat.h
index 7d32c5db8..91d95671b 100644
--- a/sys/src/9/zynq/dat.h
+++ b/sys/src/9/zynq/dat.h
@@ -193,3 +193,19 @@ extern ulong *mpcore, *slcr;
void nope(void);
#define NOPE nope();
+
+/*
+ * hardware info about a device
+ */
+typedef struct {
+ ulong port;
+ int size;
+} Devport;
+
+struct DevConf
+{
+ ulong intnum; /* interrupt number */
+ char *type; /* card type, malloced */
+ int nports; /* Number of ports */
+ Devport *ports; /* The ports themselves */
+};