Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 22:47:01 -0500
From:      Craig Boston <craig@xfoil.gank.org>
To:        ticso@cicely.de, Bernd Walter <ticso@cicely12.cicely.de>, Josef Karthauser <joe@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: CardBus USB 2.0 Controller (NEC uPD)
Message-ID:  <200306112247.01397.craig@xfoil.gank.org>
In-Reply-To: <20030612002139.GT26807@cicely12.cicely.de>
References:  <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030611224538.GB10822@genius.tao.org.uk> <20030612002139.GT26807@cicely12.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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