freebsd-skq/sys/dev/mps
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
..
mpi Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_config.c Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_ioctl.h Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_mapping.c Fix uninitialized warning in mps 2013-05-03 10:37:59 +00:00
mps_mapping.h Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_pci.c Make the mps(4) module depend on the cam module. 2012-03-07 22:39:11 +00:00
mps_sas_lsi.c Fix a small memory leak in mpssas_get_sata_identify(). The change has been 2012-07-18 09:06:07 +00:00
mps_sas.c MFprojects/camlock r248982: 2013-04-14 09:55:48 +00:00
mps_sas.h Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_table.c Several fixes to allow firmware/BIOS flash access from user-level: 2012-08-01 17:31:31 +00:00
mps_table.h
mps_user.c sys/dev/mps/mps.c 2013-06-04 22:32:33 +00:00
mps.c sys/dev/mps/mps.c 2013-06-04 22:32:33 +00:00
mpsvar.h Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00