Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 14:59:10 -0700
From:      Warner Losh <imp@village.org>
To:        Christopher Masto <chris@netmonger.net>
Cc:        Nick Hibma <hibma@skylink.it>, Mike Smith <msmith@FreeBSD.ORG>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: PCCARD eject freeze (was Re: your mail) 
Message-ID:  <199911302159.OAA05508@harmony.village.org>
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> <Pine.BSF.4.20.9911302008360.1226-100000@henny.jrc.it> <19991130160829.A13848@netmonger.net> <199911302112.OAA05264@harmony.village.org> 

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




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