Bug 88112 - missing pcibios_find_device definition in pci.h
missing pcibios_find_device definition in pci.h
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-04-05 18:51 EST by Lee Olsen
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-27 17:30:10 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 Lee Olsen 2003-04-05 18:51:29 EST
Description of problem:
There should be a static inline definition of pcibios_find_device
when CONFIG_PCI is not defined.

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

How reproducible:
Build and load streams 2.13-8, pcibios_find_device is undefined.

Steps to Reproduce:
1.Configure kernel for no PCI
2.Configure and build streams package LiS-2.13-8.
3.Note modprobe complaint.
Actual results:

Expected results:

Additional info:
When CONFIG_PCI is defined, pcibios_find_device is declared right after
pcibios_find_class at line 523. When CONFIG_PCI is not defined,
pcibios_find_class is definedat line 626, but there is no definition for
Full path of the offending file is:
Finding a non-PCI system to test on may be difficult. Configuring streams
for a kernel other than the running one may show the error or you may
need to resort to using 'nm' on the objects.
Comment 1 Lee Olsen 2003-06-09 21:24:34 EDT
Marking this "CLOSED WONTFIX" is saying Redhat does not support systems that do
not have a PCI bus. That flies in the face of the original Linux p[hilosophy:
"How do I use this obsolete hardware for something other than a door stop?"

Besides, it's a one line fix, which I gave you in the original description.
If I have to fix it again the next time I buy a set of Redhat CD's I'll stop
buying Redhat CDs.
Comment 2 Alan Cox 2003-06-27 17:30:10 EDT
pcibios_ calls are obsolete, software should always be using pci_ calls, or in
special cases should do proper CONFIG_PCI and x86 checking if not

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