Subject: Deferred config of PCI device. How?
To: None <email@example.com>
From: Shashi Rao <firstname.lastname@example.org>
Date: 09/16/2002 23:27:06
I use selectMAP mode to configure a Xilinx FPGA PCI device after the
OS boots into multiuser mode.
How would I trigger a deferred PCI device detection cycle? (What's
the right way to do this?) The attach routine for this device
involves calls to bus_dmamem_alloc() and pci_mapreg_map() etc,
besides allocating interrupts...
Here are my current thoughts:
During autoconf time, I could pretend that the PCI device existed and
pre-allocate the memory resources and then, after the PCI device
magically appears, trigger calls to a "second stage attach"...
Any thoughts/guidelines would be much appreciated!
Thanks in advance,
Shashi Rao | email@example.com