How to do a pci-bus config scan manually?

From: Peter Steinmeyer
Date: Tue Nov 13 2007 - 16:18:20 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/