PERFORCE change 102962 for review

John Birrell jb at FreeBSD.org
Tue Aug 1 18:40:11 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102962

Change 102962 by jb at jb_freebsd2 on 2006/08/01 18:38:49

	Treat MPI_EVENT_QUEUE_FULL as an expected event type so that it isn't
	reported as 'unhandled' all the time.
	
	Fix a stray endian conversion in a printf.
	
	This syncs the mpt driver with the one I'm using in the dtrace project.

Affected files ...

.. //depot/projects/kmacy_sun4v_stable/src/sys/dev/mpt/mpt_cam.c#8 edit

Differences ...

==== //depot/projects/kmacy_sun4v_stable/src/sys/dev/mpt/mpt_cam.c#8 (text+ko) ====

@@ -2153,9 +2153,13 @@
 		mpt_prt(mpt,
 		    "mpt_cam_event: MPI_EVENT_SAS_DEVICE_STATUS_CHANGE\n");
 		break;
+	case MPI_EVENT_QUEUE_FULL:
+		mpt_lprt(mpt, MPT_PRT_DEBUG,
+		    "mpt_cam_event: MPI_EVENT_QUEUE_FULL\n");
+		break;
 	default:
 		mpt_lprt(mpt, MPT_PRT_WARN, "mpt_cam_event: 0x%x\n",
-		    le32toh(msg->Event) & 0xFF);
+		    msg->Event & 0xFF);
 		return (0);
 	}
 	return (1);


More information about the p4-projects mailing list