f32fc0fc90
The architecture here follows that of the vax port -- each device has its evcnt in its softc, but defers actually incrementing it to the IRQ dispatcher. This way, devices can attach sub-counts (e.g. Rx and Tx counts for Ethernet interfaces), but don't all have to have code to increment the counters. Drivers deliberately call evcnt_attach_dynamic() before establishing their interrupt handler so that the establish routine can attach a parent event if that's appropriate. At present, it isn't. |
||
---|---|---|
.. | ||
arm26 | ||
compile | ||
conf | ||
include | ||
iobus | ||
ioc | ||
mainbus | ||
podulebus | ||
stand | ||
vidc | ||
Makefile |