From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Brand Date: Mon, 26 Feb 2001 21:45:17 +0000 Subject: Re: Adding PCMCIA support to the kernel tree -- developers needed Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org For Compact PCI, what you describe below ("disconnect the drivers and do electrical shutdown") is called "quiescing" the device. It's essentially the same thing as opening the ejection handle on a board. The blue "safe to remove" LED on the board should be lit so the operator can see which board it is that can now be removed. Overall, this seems to me like a reasonable interpretation of "eject" in cPCI-land. Chris -----Original Message----- Date: Mon, 26 Feb 2001 09:47:49 -0800 From: David Brownell Subject: Re: Adding PCMCIA support to the kernel tree -- developers needed. To: Miles Lane , Linux Hotplug > From: "Miles Lane" > Sent: Sunday, February 04, 2001 10:02 AM > > Here's an overview of where we are now. [ based on David Hinds' list ] > > 2. There is no mechanism to request a card eject in the new framework. > > This is required for clean shutdown of SCSI and IDE adapters. > > (Rusty Russell and other kernel developers are looking into > related improvements. Also, discussion has started on > linux-hotplug-devel) Exactly what is meant by "eject" though? "eject pcmcia-slot-1" can't exactly eject the drive, as it would for a CD or ZIP disc. And I think it might be good to avoid requiring each type of hotplug bus to have its own "eject" tool. I think what's meant is "disconnect the drivers and do electrical shutdown". USB needs corresponding functionality. I did a patch a while back, which I'll submit soonish; it turns out to be helpful for a variety of user-mode tools. It's an ioctl on the /proc/bus/usb device files ... perhaps that approach should be incorporated into the /proc/bus/pci device file support. - Dave _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel