asomers 9a63811782 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-05-20 23:52:49 +00:00
2013-05-10 16:41:26 +00:00
2013-04-30 18:29:05 +00:00
2013-04-14 09:55:48 +00:00
2013-05-12 16:43:26 +00:00
2013-05-13 20:03:59 +00:00
2013-04-02 00:57:54 +00:00
2013-05-30 01:22:50 +00:00
2013-05-10 16:41:26 +00:00
MFC
2013-02-26 21:09:35 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-06-02 18:10:16 +00:00
2013-02-19 18:22:25 +00:00
2013-04-23 18:30:33 +00:00
2013-04-14 09:55:48 +00:00
2012-11-23 19:20:38 +00:00
2013-04-14 09:55:48 +00:00
2013-05-10 16:41:26 +00:00
2013-04-28 20:55:45 +00:00
2013-03-01 01:42:31 +00:00
2013-05-10 16:41:26 +00:00
2013-05-02 01:36:52 +00:00
2013-02-19 19:25:50 +00:00
2013-04-14 09:55:48 +00:00
2013-06-04 22:32:33 +00:00
2013-05-27 06:24:31 +00:00
2013-05-10 16:41:26 +00:00
MFC
2013-03-09 01:39:42 +00:00
2013-02-21 12:40:52 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2013-04-14 09:55:48 +00:00
2013-06-03 22:22:53 +00:00
2012-10-10 08:36:38 +00:00
2013-04-14 09:55:48 +00:00