diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-06 18:29:39 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-06 18:29:39 +0100 |
commit | dc6d81cc7e90b1b4482d69498036860f576cd43b (patch) | |
tree | dd7cde0c65d1e8b63dc17738e64bca8d2ddc01ea /sys/src/9/zynq/dat.h | |
parent | 374d4ec2c154cbec0094f124f2173b685adbabd5 (diff) |
zynq: sdio support
Diffstat (limited to 'sys/src/9/zynq/dat.h')
-rw-r--r-- | sys/src/9/zynq/dat.h | 16 |
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 */ +}; |