# Re: Problem: how to sequence reset of PCI hardware

- From: Jon Smirl \<hidden\>
- Date: 2005-02-21 17:27:18 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/02/712634
- Thread: https://ratatoskr.run/lkml/2005/02/712544/t.md

```text
On Mon, 21 Feb 2005 12:02:34 -0500, Jeff Garzik [ref] wrote:
> Jon Smirl wrote:
> > On Mon, 21 Feb 2005 03:37:45 -0500, Jeff Garzik [ref] wrote:
> >
> >>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
```
