Re: Problem: how to sequence reset of PCI hardware

From: Jon Smirl
Date: Mon Feb 21 2005 - 12:28:52 EST


On Mon, 21 Feb 2005 12:02:34 -0500, Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
> Jon Smirl wrote:
> > On Mon, 21 Feb 2005 03:37:45 -0500, Jeff Garzik <jgarzik@xxxxxxxxx> 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@xxxxxxxxx
-
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/