[ECOS] Re: Reset a PCI device?

Jonathan Larmour jifl@eCosCentric.com
Fri Apr 25 19:44:00 GMT 2003

Scott Wilkinson wrote:
> Indeed my problem was that the device was already initialized.  I solved
> it by forcing COMMAND_ACTIVE to be false by clearing the PCI Command
> register before calling cyg_pci_get_device_info().  Probably there is a
> cleaner way to do this, and I welcome suggestions.

I'd guess since it's a platform specific problem the cleaner approach is 
to do it in your HAL_PCI_INIT code in plf_io.h. If this is a public board 
we'd love a patch :-).

eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list