From: "Chris Brand" <Chris_Brand@spectrumsignal.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: PCI hotplug question: resources
Date: Wed, 06 Feb 2002 17:55:56 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-101301820917814@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-101290913112826@msgid-missing>
>> But I have developed a PCI-card which is "not present" at boot time
>> because there is no firmware in the FPGA which is responsible for PCI
>> communication.
>
>So the question is valid: Is there a way under Linux to grab a bunch
>of PCI resources after the system is already running? Detach them
>again?
Well, I haven't done this under linux of PCI, but I have done it under
VxWorks and Windows2000 and CompactPCI. As I understand it, the PCI
configuration algorithm is the same for both PCI and CompactPCI, so it
should be do-able.
Essentially, what you're trying to do is to hotplug-insert the board,
but without physically inserting it. So the board won't be detected
automatically by the system, but you should be able to use the same
code hotplug uses to do the actual PCI configuration (I'm going to make the
assumption that your FPGA implements the necessary parts of PCI config
space correctly, per the spec). You just need some way of invoking that
code on demand, presumably from a user-space program of some kind.
Unfortunately, it's been a while since I looked at the linux hotplug code,
so I can't be more specific than that, but hopefully somebody else on
the list can...
Chris
_______________________________________________
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
next prev parent reply other threads:[~2002-02-06 17:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-05 11:37 PCI hotplug question: resources Dirk Stieler
2002-02-05 13:55 ` Matti Aarnio
2002-02-06 1:17 ` Stephen Williams
2002-02-06 10:20 ` Matti Aarnio
2002-02-06 17:55 ` Chris Brand [this message]
2002-02-07 8:43 ` Greg KH
2002-02-07 16:42 ` Stephen Williams
2002-02-07 23:51 ` Greg KH
2002-02-08 1:06 ` Donald Becker
2002-02-08 1:34 ` Martin Diehl
2002-02-08 15:44 ` John Carlson
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=marc-linux-hotplug-101301820917814@msgid-missing \
--to=chris_brand@spectrumsignal.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).