cvs commit: src/sys/sparc64/pci psycho.c psychovar.h
Marius Strobl
marius at FreeBSD.org
Sat Jun 16 23:46:42 UTC 2007
marius 2007-06-16 23:46:41 UTC
FreeBSD src repository
Modified files:
sys/sparc64/pci psycho.c psychovar.h
Log:
- Use the newly introduced pcib_mtx spin lock to lock psycho_ce(),
allowing it to be a filter/"fast" handler. Locking the interrupt
handlers with a spin lock is mainly a requirement in schizo(4)
but as we ought to register the spin lock anyway it should not
hurt to take advantage of it in psycho(4).
- Pass both a driver_filter_t and a driver_intr_t argument to
psycho_set_intr(), allowing to get rid of the FAST interrupt
flag hack.
- Don't register the over-temperature interrupt handler as filter/
"fast" handler so shutdown_nice() can acquire the process lock.
- Use bus_{read,write}_8() instead of bus_space_{read,write}_8()
in order to get rid of sc_bushandle and sc_bustag in the softc.
- Correct the debug output for adjusting the subordinate bus number.
- Remove the banal and outdated above psycho_filter_stub().
- Fix some white space nits.
Revision Changes Path
1.66 +52 -56 src/sys/sparc64/pci/psycho.c
1.16 +2 -4 src/sys/sparc64/pci/psychovar.h
More information about the cvs-src
mailing list