From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 19:04:35 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6521816A41F for ; Fri, 9 Sep 2005 19:04:35 +0000 (GMT) (envelope-from thomas@FreeBSD.ORG) Received: from melusine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F7CE43D45 for ; Fri, 9 Sep 2005 19:04:35 +0000 (GMT) (envelope-from thomas@FreeBSD.ORG) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 4C38E2C43B; Fri, 9 Sep 2005 21:04:33 +0200 (CEST) Date: Fri, 9 Sep 2005 21:04:33 +0200 From: Thomas Quinot To: Claude Buisson Message-ID: <20050909190432.GA25245@melusine.cuivre.fr.eu.org> References: <43216CA9.2010804@nerim.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43216CA9.2010804@nerim.net> X-message-flag: WARNING! Using Outlook can damage your computer. User-Agent: Mutt/1.5.8i Cc: freebsd-current@freebsd.org Subject: Re: 6.0-BETA4 changes numbering of atapicam devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 19:04:35 -0000 * Claude Buisson, 2005-09-09 : > acd0 -> cd0 > acd1 -> cd1 There is absolutely no notion of such mapping in ATAPI/CAM. The order in which device numbers are assigned by the cd driver depends only on CAM scan order. What ATAPI/CAM guarantees is that the master device is target 0, and the slave is target 1: > cd0 at ata1 bus 0 target 1 lun 0 ^ > cd1 at ata1 bus 0 target 0 lun 0 ^ The assignment of unit numbers by the cd driver is dependant on the CAM scan order; you can force fixed numbering by wiring down the target -> unit mapping in your hints file. Thomas.