From owner-svn-src-head@FreeBSD.ORG Wed Jun 5 01:23:00 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DA93332; Wed, 5 Jun 2013 01:23:00 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F2D201A56; Wed, 5 Jun 2013 01:22:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r551Mxwc066733; Wed, 5 Jun 2013 01:22:59 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r551Mxjx066732; Wed, 5 Jun 2013 01:22:59 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201306050122.r551Mxjx066732@svn.freebsd.org> From: Marius Strobl Date: Wed, 5 Jun 2013 01:22:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251403 - head/sys/dev/sym X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 01:23:00 -0000 Author: marius Date: Wed Jun 5 01:22:59 2013 New Revision: 251403 URL: http://svnweb.freebsd.org/changeset/base/251403 Log: - Flag sym(4) as supporting unmapped I/O; all necessary conversion actually already has been done as part of r246713. - Revert a part of r251402 in order to appease clang. Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c ============================================================================== --- head/sys/dev/sym/sym_hipd.c Wed Jun 5 01:07:40 2013 (r251402) +++ head/sys/dev/sym/sym_hipd.c Wed Jun 5 01:22:59 2013 (r251403) @@ -613,7 +613,7 @@ static m_addr_t ___dma_getp(m_pool_s *mp { m_vtob_s *vbp; void *vaddr = NULL; - bus_addr_t baddr; + bus_addr_t baddr = 0; vbp = __sym_calloc(&mp0, sizeof(*vbp), "VTOB"); if (!vbp) @@ -7871,7 +7871,6 @@ sym_setup_data_and_start(hcb_p np, struc xpt_freeze_simq(np->sim, 1); csio->ccb_h.status |= CAM_RELEASE_SIMQ; } - return; } /* @@ -8057,7 +8056,7 @@ static void sym_action2(struct cam_sim * if ((np->features & FE_WIDE) != 0) cpi->hba_inquiry |= PI_WIDE_16; cpi->target_sprt = 0; - cpi->hba_misc = 0; + cpi->hba_misc = PIM_UNMAPPED; if (np->usrflags & SYM_SCAN_TARGETS_HILO) cpi->hba_misc |= PIM_SCANHILO; if (np->usrflags & SYM_AVOID_BUS_RESET)