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
mps_mapping.h
mps_pci.c
mps_sas_lsi.c
mps_sas.c
mps_sas.h
mps_table.c
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