linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Dave Airlie <airlied@linux.ie>
Cc: linux-kernel@vger.kernel.org
Subject: Re: re-scanning the PCI bus after boot for configurable device...
Date: Mon, 12 May 2003 20:41:47 -0700	[thread overview]
Message-ID: <20030513034147.GA5938@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.53.0305130225240.20908@skynet>

On Tue, May 13, 2003 at 02:29:33AM +0100, Dave Airlie wrote:
> 
> hi,
> 	I've got a PCI card that has an FPGA on it which I want to program
> at run time, and then load a device driver for depending on what I've
> loaded in to the FPGA,
> 
> The FPGA is downloaded via JTAG so that is all fine, but if I boot Linux,
> download over the JTAG, how can I get Linux to see the device? can I use
> the hotplugging support or do I still need to do more work? I know the
> hotplug allows for PCMCIA and CompactPCI to add devices after boot, but
> this is plain PCI but the device won't be there until the system is
> running,

I've posted a driver to the linux-hotplug-devel mailing list a year or
so ago that might help you out with this.  On module load it rescans the
PCI address space, adding or removind devices that are new or now gone.
This will probably do what you want.

I didn't write the driver, and it's probably very out of date by now,
but it's something for you to start with if you are interested.

Good luck,

greg k-h

  reply	other threads:[~2003-05-13  3:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13  1:29 re-scanning the PCI bus after boot for configurable device Dave Airlie
2003-05-13  3:41 ` Greg KH [this message]
2003-05-13  4:08   ` Dave Airlie
2003-05-13  4:33     ` Greg KH

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=20030513034147.GA5938@kroah.com \
    --to=greg@kroah.com \
    --cc=airlied@linux.ie \
    --cc=linux-kernel@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).