freebsd-dev/share
Kenneth D. Merry 1476ba4087 Turn on serialization of task management commands going down to the
controller, but make it optional.

After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time.  We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.

But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.

mps.c:		Add support for the sysctl and tunable, and add a
		comment about the possible return values to
		mps_map_command().

mps_sas.c:	Run all task management commands through two new
		routines, mpssas_issue_tm_request() and
		mpssas_complete_tm_request().

		This allows us to optionally serialize task
		management commands.  Also, change things so that
		the response to a task management command always
		comes back through the callback.  (Before it could
		come via the callback or the return value.)

mpsvar.h:	Add softc variables for the list of active task
		management commands, the number of active commands,
		and whether we should allow multiple active task
		management commands.  Add an active command flag.

mps.4:		Describe the new sysctl/loader tunable variable.

Sponsored by:	Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
..
colldef Add lv_LV, move lt_LT to common part 2009-09-03 16:53:11 +00:00
dict Various changes from various sources: 2010-09-23 11:19:03 +00:00
doc Rename documentation source files to avoid filesystem case and restricted 2010-07-16 17:01:36 +00:00
examples o csup(1) does not have -g flag. Remove it from the example. 2010-09-02 05:07:34 +00:00
info
man Turn on serialization of task management commands going down to the 2010-10-07 21:56:10 +00:00
me
misc Add myself (jonathan@) to committers-src.dot 2010-10-07 18:20:51 +00:00
mk - Introduce WITH_GPIO knob and disable building gpioctl 2010-10-05 21:19:20 +00:00
mklocale Add lv_LV, move lt_LT to common part 2009-09-03 17:12:45 +00:00
monetdef Last character is a space for the international currency symbol. 2009-09-13 22:17:23 +00:00
msgdef Add lv_LV 2009-09-04 06:19:37 +00:00
numericdef Add lv_LV 2009-09-03 17:37:23 +00:00
security Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
sendmail
skel Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
snmp
syscons Add a keymap for the Swiss-German Macbook keyboard. 2010-08-07 17:02:36 +00:00
tabset
termcap Add a termcap entry for rxvt-256color. 2010-08-08 09:40:09 +00:00
timedef Week days are all lowercase in French. 2010-07-20 14:27:09 +00:00
zoneinfo Officially speaking, the zoneinfo data files are contributed data. 2010-02-25 06:44:16 +00:00
Makefile
Makefile.inc