This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Reset a PCI device?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]