[ECOS] Reset a PCI device?

Scott Wilkinson scott@alliantnetworks.com
Fri Apr 25 01:11:00 GMT 2003


Is there a way to reset a PCI device that has already been configured so
that it will go back to having uninitialized BARs, sizes and addresses?

Basically I want 

if ((dev_info->command & CYG_PCI_CFG_COMMAND_ACTIVE) == 0) { stuff }

to return true in the cyg_pci_get_dvice_info() call.

I'm trying to get RedBoot to re-initialize a system that was already
initialized by another boot-loader.  I think this is whats preventing my
82559 from passing the self test.

Thanks,
Scott



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