Re: How to reset pci device

From: Robert Hancock
Date: Thu Jul 06 2006 - 10:26:27 EST


earthquake.de@xxxxxxxxxx wrote:
Hi,
i have the following problem:
A Pci-device is not set up correctly, (this is caused by the producer
of the pci device
and can not be changed).
But for test purposes i read the confi space from the pci device( just
the BARs)
reset the pci device manually.
After this reset i write the read confi space back (just the BARs and
command register).

If you mean issuing a reset to that specific device, there is no portable way to do this, if there is any way at all. In most cases it's likely impossible to reset just one device on the PCI bus.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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