Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2001 10:43:02 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/isa fd.c 
Message-ID:  <200107051643.f65Gh2J50801@harmony.village.org>
In-Reply-To: Your message of "Thu, 05 Jul 2001 08:49:38 %2B0200." <20010705084938.A27341@uriah.heep.sax.de> 
References:  <20010705084938.A27341@uriah.heep.sax.de>  <200107042210.f64MAa704405@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010705084938.A27341@uriah.heep.sax.de> Joerg Wunsch writes:
: Interestingly enough, removing the PCMCIA floppy then fully destroyed
: the device -- even if the driver has been kldunloaded already before.

The detach routine is required to remove all resources that the device
used, including disk instances.  When the device is gone, it is gone
and the dangling pointers and such must be cleaned up.  It looks like
fd_detach is doing the right thing now, but I didn't look closely.  If
you are still seeing things in devinfo, then it is doing things
wrong.

If you kldunloaded the device, and the device didn't detach, something
is seriously wrong.

I'm having trouble understanding what you are saying here, so if it
sounds like I'm replying to something you aren't seeing, please
clarify what's going on.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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