Re: Problem: how to sequence reset of PCI hardware

From: Jeff Garzik
Date: Mon Feb 21 2005 - 12:04:02 EST


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.

Jeff


-
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/