Re: Problem: how to sequence reset of PCI hardware

From
Jon Smirl <hidden>
Date
2005-02-21 17:27:18
Also in
lkml
Reply to
Jeff Garzik, 2005-02-21
On Mon, 21 Feb 2005 12:02:34 -0500, Jeff Garzik [off-list ref] wrote:
Jon Smirl wrote:
quoted
On Mon, 21 Feb 2005 03:37:45 -0500, Jeff Garzik [off-list ref] wrote:
quoted
You either need to execute the video BIOS to initialize the hardware
registers, or initialize the hardware registers themselves.

That is what the user mode reset program does.

The problem is, how do I get it to run before calling the device's
probe function? Most of the framebuffer drivers assume that the
hardware has already been reset in their probe code.
<shrug>  You do precisely what you just said:  run it before the
device's probe function.

That typically means either initramfs addition or using 'install
<module> command...' in /etc/modprobe.conf.
How does install module work if one driver is servicing several adapters?
What if one adapater is in the card at boot and another shows up via hotplug?
        Jeff

-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Thread (6 messages) 6 messages, 2 authors, last reply 2005-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help