plan9fox/sys
cinap_lenrek b438fd9d09 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.
2020-11-21 22:03:13 +01:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib fortunes: As much as I'd love to I feel I have to let it go -- rminnich 2020-04-18 21:37:53 -04:00
include libbio: add aux pointer to bio 2020-11-01 11:42:54 -08:00
lib profile: don't create $wsys if it doesn't exist 2020-11-02 08:29:05 -08:00
man tmdate(2): failed to (p)arse 2020-11-18 20:14:26 +01:00
src ether8169: fix interrupt panic before init, defer initialization until attach 2020-11-21 22:03:13 +01:00