public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Steinmeyer <net@stonechip.de>
To: linux-kernel@vger.kernel.org
Subject: How to do a pci-bus config scan manually?
Date: Tue, 13 Nov 2007 22:16:30 +0100	[thread overview]
Message-ID: <200711132216.30778@walhalla> (raw)

Hallo!
I'm wondering if I could do a manual pci bus reset from kernel (or userspace)
with kernel 2.6.18.
The background is as follows: We have a self build pci-express card with
FPGA chip mounted on it. The FPGA can be programmend via an additional serial
interface, but the system becomes not aware of the changes made on the card.
On reloading my device driver module I get the same address mapping as before
but if I access the registers the behaviour is undefined.
I think this is because the FPGA disconnects from the pci bus while
programming. So I have to reboot the machine to reinit.
Is there a way to tell the kernel respectively the pci subsystem to do a
pci-bus config scan to recognize the changes without rebooting?
Have a good day, Peter

                 reply	other threads:[~2007-11-13 21:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200711132216.30778@walhalla \
    --to=net@stonechip.de \
    --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