From owner-freebsd-current Tue Nov 30 13:58:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id A5D5F14E92; Tue, 30 Nov 1999 13:58:34 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA10549; Tue, 30 Nov 1999 14:58:32 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA05508; Tue, 30 Nov 1999 14:59:10 -0700 (MST) Message-Id: <199911302159.OAA05508@harmony.village.org> To: Christopher Masto Subject: Re: PCCARD eject freeze (was Re: your mail) Cc: Nick Hibma , Mike Smith , FreeBSD CURRENT Mailing List In-reply-to: Your message of "Tue, 30 Nov 1999 16:54:07 EST." <19991130165407.A467@netmonger.net> References: <19991130165407.A467@netmonger.net> <19991130160829.A13848@netmonger.net> <199911301740.JAA02860@mass.cdrom.com> <19991130160829.A13848@netmonger.net> <199911302112.OAA05264@harmony.village.org> Date: Tue, 30 Nov 1999 14:59:10 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991130165407.A467@netmonger.net> Christopher Masto writes: : I found that the only message printed was "ready to power off". bingo. looks like we're not deleting the child. Try replacing that for loop with something like: pccarddev = devclass_get_device(pccard_devclass, slt->slot); device_get_children(pccarddev, &kids, &nkids) for (i = 0; i < nkids; i++) device_delete_child(pccarddev, kid[0]); It isn't quite right, but if it works then I know the right fix. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message