diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-11-21 22:03:13 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-11-21 22:03:13 +0100 |
commit | b438fd9d099f0f8f27e2209a82751ba7e858759a (patch) | |
tree | 529d0ecebb9dccae427bb8990674fe4983eea500 /sys/src/cmd/python/Python/pyarena.c | |
parent | 0f56fefd45ab50ddc28c062b492b64a17c26e08a (diff) |
ether8169: fix interrupt panic before init, defer initialization until attach
The driver used to register the interrupt handler just
after reset, tho the Ctlr struct, including the buffer
descriptor arrays where only allocated on attach.
This moves most of the reset/init out of pnp
function and into attach. This also means we can
error out and even retry on the next attach.
The logic of the reseter kproc has been changed:
now it is only started once the first initialization
completely succeeded. This avoids the strange qlock
passing.
Implement a shutdown function so the device gets
halted for /dev/reboot.
Assume 64 bit physical addresses for dma.
Check that pci bar0 is actually I/O.
Diffstat (limited to 'sys/src/cmd/python/Python/pyarena.c')
0 files changed, 0 insertions, 0 deletions