Red Hat Bugzilla – Bug 88112
missing pcibios_find_device definition in pci.h
Last modified: 2007-04-18 12:52:48 EDT
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):
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.
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.
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.
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