From owner-cvs-src-old@FreeBSD.ORG Fri Apr 30 08:57:23 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AF5F106568E for ; Fri, 30 Apr 2010 08:57:23 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 88D898FC23 for ; Fri, 30 Apr 2010 08:57:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3U8vNSc074741 for ; Fri, 30 Apr 2010 08:57:23 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3U8vNkX074740 for cvs-src-old@freebsd.org; Fri, 30 Apr 2010 08:57:23 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201004300857.o3U8vNkX074740@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Fri, 30 Apr 2010 08:57:03 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam cam_xpt.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 08:57:23 -0000 mav 2010-04-30 08:57:03 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c Log: SVN rev 207433 on 2010-04-30 08:57:03Z by mav Revert r198705. As scottl@ noticed, max_target/max_lun was intended to be only a hint for existing bus scanner. Some FC/SAS SIMs report fake values there, that are smaller then maximum supported IDs. In that case this check makes impossible manual scan outside hinted range. For ATA/SATA SIMs respective check was instead implemented at SIM level. Newer SCSI SIMs expected to have these checks at driver or firmware level. Some older SCSI SIMs have no this check and the issues will get back there. Revision Changes Path 1.247 +1 -28 src/sys/cam/cam_xpt.c