From owner-freebsd-stable@FreeBSD.ORG Sat Jan 4 17:16:49 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 406A98FD for ; Sat, 4 Jan 2014 17:16:49 +0000 (UTC) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6E8E10D1 for ; Sat, 4 Jan 2014 17:16:48 +0000 (UTC) Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mx.arcor.de (Postfix) with ESMTP id CB2292D6369 for ; Sat, 4 Jan 2014 17:41:43 +0100 (CET) Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id C08382E617F for ; Sat, 4 Jan 2014 17:41:43 +0100 (CET) X-Greylist: Passed host: 92.75.108.162 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-16.arcor-online.net A73708274 Received: from lorvorc.mips.inka.de (dslb-092-075-108-162.pools.arcor-ip.net [92.75.108.162]) by mail-in-16.arcor-online.net (Postfix) with ESMTPS id A73708274 for ; Sat, 4 Jan 2014 17:41:43 +0100 (CET) Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.7/8.14.7) with ESMTP id s04GfhXx099494 for ; Sat, 4 Jan 2014 17:41:43 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.7/8.14.7/Submit) id s04Gfhtr099493 for freebsd-stable@freebsd.org; Sat, 4 Jan 2014 17:41:43 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Subject: 9->10: USB device number changes Date: Sat, 4 Jan 2014 16:41:43 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 17:16:49 -0000 If you're going from FreeBSD 9 to 10, the attach order of USB devices may change. FreeBSD 9's GENERIC kernel has various USB drivers compiled in. On 10, only a few core drivers remain in GENERIC and drivers for other devices are loaded dynamically as kernel modules by devd(8). As a side effect, the attach order and thus the numbering may change. Specifically, I have four ucom(4) adapters on a machine, a mix of three uplcom(4) and one uftdi(4) device. On FreeBSD 9, these used to attach in the USB address order. On 10, the uplcoms all attach first, in address order, and the uftdi afterwards, so the corresponding devices cuaU[0-3] have been reordered. I just thought I'd mention it. -- Christian "naddy" Weisgerber naddy@mips.inka.de