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]

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


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