Date: Tue, 1 Aug 2006 18:39:44 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 102962 for review Message-ID: <200608011839.k71IdiDp027542@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102962 Change 102962 by jb@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608011839.k71IdiDp027542>