From owner-freebsd-arm@FreeBSD.ORG Wed Oct 15 19:15:31 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B04D91065688 for ; Wed, 15 Oct 2008 19:15:31 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 729B08FC0A for ; Wed, 15 Oct 2008 19:15:31 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m9FIkrFx097693; Wed, 15 Oct 2008 12:46:54 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id m9FIkpIe068402; Wed, 15 Oct 2008 12:46:51 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id m9FIkpvG068397; Wed, 15 Oct 2008 12:46:51 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18678.15002.142599.726@gromit.timing.com> Date: Wed, 15 Oct 2008 12:46:50 -0600 From: John Hein To: "M. Warner Losh" In-Reply-To: <20081015.112549.35219823.imp@bsdimp.com> References: <18677.7678.159413.615726@gromit.timing.com> <20081015162140.GQ25586@cicely7.cicely.de> <18678.7732.431604.484585@gromit.timing.com> <20081015.112549.35219823.imp@bsdimp.com> X-Mailer: VM 7.19 under Emacs 22.2.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: arm@freebsd.org, ticso@cicely.de Subject: Re: loadable drivers X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 19:15:31 -0000 M. Warner Losh wrote at 11:25 -0600 on Oct 15, 2008: > There's issue with loading usb drivers because it was never designed > for that... Some drivers work, others don't. I remember that, but I wonder why it works okay on x86. Hmmm... now that I check it again, it seems it only works on x86 if the ko is specified to be loaded in loader.conf (even if ugen is compiled out and not loaded). Loading it later after boot makes the uftdi_match fail. So that explains why it doesn't work on arm (no loader support for loading .ko's) at all. Ah... it also works if it's loaded at boot, unloaded later, then reloaded.