From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 20:47:00 2003 Return-Path: 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 D06F037B401; Wed, 11 Jun 2003 20:47:00 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4070943FBF; Wed, 11 Jun 2003 20:47:00 -0700 (PDT) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [198.78.66.164]) by ion.gank.org (GankMail) with ESMTP id 48F242CFA9; Wed, 11 Jun 2003 22:46:59 -0500 (CDT) Received: from ion.gank.org ([198.78.66.164]) by localhost (ion.gank.org [198.78.66.164]) (amavisd-new, port 10024) with LMTP id 50921-03; Wed, 11 Jun 2003 22:46:59 -0500 (CDT) Received: from aldaris2.auir.gank.org (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id 5B0122BB50; Wed, 11 Jun 2003 22:46:58 -0500 (CDT) From: Craig Boston To: ticso@cicely.de, Bernd Walter , Josef Karthauser , current@FreeBSD.org Date: Wed, 11 Jun 2003 22:47:01 -0500 User-Agent: KMail/1.5.2 References: <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030611224538.GB10822@genius.tao.org.uk> <20030612002139.GT26807@cicely12.cicely.de> In-Reply-To: <20030612002139.GT26807@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306112247.01397.craig@xfoil.gank.org> Subject: Re: CardBus USB 2.0 Controller (NEC uPD) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 12 Jun 2003 03:47:01 -0000 On Wednesday 11 June 2003 07:21 pm, Bernd Walter wrote: > On Wed, Jun 11, 2003 at 11:45:38PM +0100, Josef Karthauser wrote: > > The detach code could be made to work fairly easily. It's mostly there > > I believe, but disabled. Nick couldn't convince himself that all the > > used memory was being returned if the device is suddently unloaded. You > > could suck it and see. > > I'm not shure if the code would work, but it was also ported into ehci > and therefor ehci should be in a similar state. > Well loosing memory is better than panic. > I have no cardbus - can this be tested with a module? I'd be more than happy to give it a shot on my now-working cardbus card and see what happens. It is as simple as adding DEVMETHOD(device_detach, ohci_pci_detach) to the device_method_t ? Craig