Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 14:15:15 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Craig Boston <craig@xfoil.gank.org>
Cc:        current@FreeBSD.org
Subject:   Re: CardBus USB 2.0 Controller (NEC uPD)
Message-ID:  <20030612121514.GD26807@cicely12.cicely.de>
In-Reply-To: <200306112247.01397.craig@xfoil.gank.org>
References:  <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030611224538.GB10822@genius.tao.org.uk> <20030612002139.GT26807@cicely12.cicely.de> <200306112247.01397.craig@xfoil.gank.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 11, 2003 at 10:47:01PM -0500, Craig Boston wrote:
> 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 ?

Yes + the same for ehci.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030612121514.GD26807>