Author: mjacob Date: Fri Mar 26 20:22:18 2010 New Revision: 205712 URL: http://svn.freebsd.org/changeset/base/205712
Log: D'oh- isp_handle_index' logic was reversed (not used in FreeBSD). MFC after: 1 week Modified: head/sys/dev/isp/isp_library.c Modified: head/sys/dev/isp/isp_library.c ============================================================================== --- head/sys/dev/isp/isp_library.c Fri Mar 26 19:41:40 2010 (r205711) +++ head/sys/dev/isp/isp_library.c Fri Mar 26 20:22:18 2010 (r205712) @@ -294,10 +294,10 @@ uint32_t isp_handle_index(ispsoftc_t *isp, uint32_t handle) { if (!ISP_VALID_HANDLE(isp, handle)) { - return (handle & ISP_HANDLE_CMD_MASK); - } else { isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle); return (ISP_BAD_HANDLE_INDEX); + } else { + return (handle & ISP_HANDLE_CMD_MASK); } } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"