Bug 55891 - Not all the pci bar registers are scanned
Not all the pci bar registers are scanned
Product: eCos
Classification: Retired
Component: PCI (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jesper Skov
Jesper Skov
Depends On:
  Show dependency treegraph
Reported: 2001-11-08 08:34 EST by Need Real Name
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-20 12:05:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-11-08 08:34:27 EST
Description of Problem:
in the function cyg_pci_get_device_info the probe function stops when an 
inactive bar is found. This is not right. It free to choose any of the 
BAR's to use in the hardware so all 6 BARS have to be scanned. (see PCI-
spec Revision 2.2 page 204)
Problem can be solved by deleting the next lines in both paths of the if 
then else construction:

	    // No reason to scan beyond first inactive BAR.
	    if (size == 0) {
		dev_info->num_bars = i;

Version-Release number of selected component (if applicable):

How Reproducible:

Steps to Reproduce:

Actual Results:

Expected Results:

Additional Information:
Comment 1 Alex Schuilenburg 2003-06-20 12:05:05 EDT
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=55891

Note You need to log in before you can comment on or make changes to this bug.