Subject: Re: powering down pcmcia/cardbus slots
To: Jason Thorpe <thorpej@shagadelic.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 02/16/2006 16:03:04
In message <1F064FC6-4010-4E18-BFD2-0B24A2626337@shagadelic.org>, Jason Thorpe 
writes:
>
>On Feb 16, 2006, at 12:44 PM, Steven M. Bellovin wrote:
>
>> In message <43F4E065.306@tadpole.com>, "Garrett D'Amore" writes:
>>
>>>> What is the "device" I'd use with 'drvctl -d'?  ohci0?  Or do I  
>>>> have to
>>>> do it recursively, starting with ucom0 and uhub5?  And what bus (and
>>>> perhaps locator or attribute) do I use with 'drvctl -r'?
>>>>
>>> Those are excellent questions. Unfortunately, I don't have an answer.
>>> Experiment and see what happens.
>>>
>>> As they say, "use the Source, Luke".
>>
>> I had looked at drvctl.c and kern_drvctl.c before I posted, but  
>> they're
>> both short and sweet and led to a complex maze of configuration
>> routines...
>
>Detach the ohci @ cardbus, and that will itself recurse down to  
>remove the children.
>
Tnx; I'll try it tonight.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb