freebsd-dev/sys/dev/mps
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
..
mpi
mps_config.c
mps_ioctl.h
mps_mapping.c Fix uninitialized warning in mps 2013-05-03 10:37:59 +00:00
mps_mapping.h
mps_pci.c
mps_sas_lsi.c
mps_sas.c MFprojects/camlock r248982: 2013-04-14 09:55:48 +00:00
mps_sas.h
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