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/pc/usbohci.c | |
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/pc/usbohci.c')
-rw-r--r-- | sys/src/9/pc/usbohci.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/9/pc/usbohci.c b/sys/src/9/pc/usbohci.c index 41c0b9b2e..588a9cebb 100644 --- a/sys/src/9/pc/usbohci.c +++ b/sys/src/9/pc/usbohci.c @@ -2608,14 +2608,6 @@ reset(Hci *hp) hp->shutdown = shutdown; hp->debug = usbdebug; hp->type = "ohci"; - - /* - * IRQ2 doesn't really exist, it's used to gang the interrupt - * controllers together. A device set to IRQ2 will appear on - * the second interrupt controller as IRQ9. - */ - if(hp->irq == 2) - hp->irq = 9; intrenable(hp->irq, hp->interrupt, hp, hp->tbdf, hp->type); return 0; |