diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-02-11 18:08:03 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-02-11 18:08:03 +0100 |
commit | d6e0e9c402e215dc5659ad525e3e652501f76810 (patch) | |
tree | d3157154f97516235da7c473e962b3410be46359 /sys/src/9/sgi/dat.h | |
parent | debb786fea3d6ea8018c3d83cdedfdbff0703441 (diff) |
kernel: move devether and wifi to port/
the only architecture dependence of devether was enabling interrupts,
which is now done at the end of the driver's reset() function now.
the wifi stack and dummy ethersink also go to port/.
do the IRQ2->IRQ9 hack for pc kernels in intrenabale(), so not
every caller of intrenable() has to be aware of it.
Diffstat (limited to 'sys/src/9/sgi/dat.h')
-rw-r--r-- | sys/src/9/sgi/dat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/src/9/sgi/dat.h b/sys/src/9/sgi/dat.h index 741ca5655..126eb3793 100644 --- a/sys/src/9/sgi/dat.h +++ b/sys/src/9/sgi/dat.h @@ -13,6 +13,7 @@ typedef struct PMMU PMMU; typedef struct Softtlb Softtlb; typedef struct Ureg Ureg; typedef struct Proc Proc; +typedef struct ISAConf ISAConf; typedef uvlong Tval; #define MAXSYSARG 5 /* for mount(fd, afd, mpt, flag, arg) */ @@ -70,6 +71,16 @@ struct Conf int keyboard; }; +struct ISAConf +{ + char *type; + ulong port; + int irq; + int nopt; + char *opt[1]; +}; +#define BUSUNKNOWN -1 + /* * floating point registers */ |