This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Bug in cyg_pci_configure_device
- From: "shuishuila" <shuishuila at hotmail dot com>
- To: ecos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 19 Mar 2004 22:22:2 +0800
- Subject: [ECOS] Bug in cyg_pci_configure_device
Hi, ecos-discuss,
When configure pci devices BAR in io/pci/pci.c:
669: for (bar = 0; bar < CYG_PCI_MAX_BAR; bar++) {
670: if (!dev_info->base_address[bar]) {
671: continue;
672: }
673: flags = dev_info->base_size[bar];
we should use base_size instead of base_address, so line 670 should be:
if (!dev_info->base_size[bar]) {
Regards,
shuishuila
shuishuila@hotmail.com
2004-03-19
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss