Alan Somers 2ce303e83d sys/dev/mps/mps.c
sys/dev/mps/mps_user.c
	Fix uninitialized memory reference in mps_read_config_page.  It was
	referencing a field (params->hdr.Ext.ExtPageType) that would only be
	set when reading an Extended config page.  The symptom was that
	MPSIO_READ_CFG_PAGE ioctls would randomly fail with
	MPI2_IOCSTATUS_CONFIG_INVALID_PAGE errors.  The solution is to
	determine whether an extended or an ordinary config page is requested
	by looking at the PageType field, which should be available regardless.

	Similarly, mps_user_read_extcfg_header and mps_user_read_extcfg_page,
	which call mps_read_config_page, had to be fixed to always set the
	PageType field.  They were implicitly assuming that
	mps_read_config_page always operated on Extended pages.

Reviewed by:	ken
Approved by:	ken (mentor)
MFC after:	3 days
2013-06-04 22:32:33 +00:00
..
2013-06-04 09:33:03 +00:00
2013-05-29 04:21:42 +00:00
2013-06-04 22:32:33 +00:00
2013-05-30 01:19:02 +00:00
2013-06-04 06:38:01 +00:00
2013-05-25 06:28:30 +00:00
2013-05-12 16:43:26 +00:00
2013-05-10 16:41:26 +00:00
2013-06-01 12:21:59 +00:00
2013-04-17 11:45:15 +00:00
2013-06-03 20:52:20 +00:00
2013-05-31 00:43:41 +00:00
2013-06-04 05:44:52 +00:00