From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [Pcihpd-discuss] Re: Hotplug SIG
Date: Mon, 23 Aug 2004 22:24:07 +0000 [thread overview]
Message-ID: <20040823222407.GF4694@kroah.com> (raw)
In-Reply-To: <E8C532D801BE5B479B28B626184E8CDD05E7AE0D@tayexc14.americas.cpqcorp.net>
On Mon, Aug 23, 2004 at 05:11:51PM -0500, Linas Vepstas wrote:
>
> I am not aware of any single, unified, architecture-independent API
> or user-space tools for performing PCI hotplug. If they do exist,
> then my ignorance can be blamed on bad documentation.
They exist:
www.kroah.com/linux/hotplug
It's just the dumb ppc64 driver that breaks this tool, the last time I
tried it...
Oh, and I wrote a tiny bash script that also did the same thing, if you
don't like gtk code, if you search the archives.
> -- There's a command-line tool I use on powerpc that does things
> like blink LED's in order to better identify the PCI slot, so
> that you don't actually remove the wrong card. A generic
> tool that did this for all arches would be nice.
See the program mentioned above.
> -- Some people like to "echo 1 > /sys/bus/pci/something" to turn
> power on and off for a given PCI slot, but its not obvious that
> this is how all the various arches work; nor is it obvious
> how to match up a given 'geographical' slot location to a given
> /sys/whatever entry. So unifying all this would be nice.
That's a arch independant thing, actually, a system independant thing.
All the different hardware systems do it differently, but they all
export the information in the same way, so the above tool does get the
information properly.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2004-08-23 22:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-12 20:18 [Pcihpd-discuss] Re: Hotplug SIG Silbermann, Martine
2004-08-23 22:24 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040823222407.GF4694@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).