Date: Sat, 16 Jun 2007 23:46:41 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/pci psycho.c psychovar.h Message-ID: <200706162346.l5GNkfCb044836@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706162346.l5GNkfCb044836>
