* Re: How to reset pci device
[not found] <1152172405.112420.80940@m73g2000cwd.googlegroups.com>
@ 2006-07-06 14:26 ` Robert Hancock
2006-07-06 14:42 ` Krzysztof Halasa
0 siblings, 1 reply; 2+ messages in thread
From: Robert Hancock @ 2006-07-06 14:26 UTC (permalink / raw)
To: earthquake.de; +Cc: linux-kernel
earthquake.de@freenet.de 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@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to reset pci device
2006-07-06 14:26 ` How to reset pci device Robert Hancock
@ 2006-07-06 14:42 ` Krzysztof Halasa
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Halasa @ 2006-07-06 14:42 UTC (permalink / raw)
To: Robert Hancock; +Cc: earthquake.de, linux-kernel
Robert Hancock <hancockr@shaw.ca> writes:
> 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.
It's different if you're writing a driver for such device - it doesn't
have to be "portable", and many (all?) PCI glue chips can be reset (and
can reset the rest of stuff on the card) by writing to a special (bit)
register.
--
Krzysztof Halasa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-06 14:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1152172405.112420.80940@m73g2000cwd.googlegroups.com>
2006-07-06 14:26 ` How to reset pci device Robert Hancock
2006-07-06 14:42 ` Krzysztof Halasa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox