diff options
| author | mrg <mrg@NetBSD.org> | 2019-06-21 14:19:46 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-06-21 14:19:46 +0000 |
| commit | 2935f9fc046f26024deea2bb9b28838aa3b1d478 (patch) | |
| tree | 8c012155570dd3e6b2494232b223c4155a022335 /tools | |
| parent | f1a75c8d2eb634a766eb0296074aeaaa53c62bc1 (diff) | |
fix issues seen with transfers being reused before they are finished
being used.
adapt locking to the modern world. some what inspired by if_smsc.c:
- add locks for softc, rx and tx
- add safe detach support
- safe detach vs mii lock requires 2 methods to lock the MII lock,
- check axen_dying and new axen_stopping more often
- consolidate checks to reduce the number of error paths that need
to release a resource
- move axen_watchdog() out of if_timer into the tick task to
prepare for MPSAFEification
TODO:
- remove spl usage
- enable mpsafe
special thanks to skrll and mlelstv for clearing up various
confusion and providing examples.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
