From owner-cvs-all Thu Jul 5 9:43:10 2001 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id DBB1C37B405; Thu, 5 Jul 2001 09:43:03 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f65Gh2Q47319; Thu, 5 Jul 2001 10:43:02 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f65Gh2J50801; Thu, 5 Jul 2001 10:43:02 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107051643.f65Gh2J50801@harmony.village.org> To: Joerg Wunsch Subject: Re: cvs commit: src/sys/isa fd.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Thu, 05 Jul 2001 08:49:38 +0200." <20010705084938.A27341@uriah.heep.sax.de> References: <20010705084938.A27341@uriah.heep.sax.de> <200107042210.f64MAa704405@freefall.freebsd.org> Date: Thu, 05 Jul 2001 10:43:02 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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