This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Reset a PCI device?
- From: Scott Wilkinson <scott at alliantnetworks dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: 24 Apr 2003 17:06:39 -0700
- Subject: [ECOS] Reset a PCI device?
- Organization:
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