Bug 62137

Summary: Compile stops on "if ((!CONFIG_PCI)..."
Product: [Retired] Red Hat Linux Reporter: jm999
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-03 21:34:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jm999 2002-03-27 20:16:25 UTC
?a?,zilla Helper:

User-Agent: Mozilla/4.0 (compatible; MSIE 5.13; Mac_PowerPC)



Description of problem:

The file drivers/net/e1000_main.c should have:

#ifdef CONFIG_PCI
    if (!pci_present())
#endif
        return (0);

because when CONFIG_PCI is not defined, the following in fails:

    if ((!CONFIG_PCI) || (!pci_present()))
        return (0);



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





How reproducible:

Always



Steps to Reproduce:

1. Configure kernel with no PCI

2. Compile

3.

	



Actual Results:  Compile stops (trust me)



Expected Results:  compile to suceed



Additional info:

Comment 1 Pete Zaitcev 2002-06-03 19:11:13 UTC
So? Remove the e1000 from .config and re-run "make oldconfig".
Problem solved. Really, we have thousans of such things
coming from upstream.


Comment 2 Pete Zaitcev 2002-06-03 21:34:41 UTC
I think we never shipped e1000 with 6.2 (2.2 kernel).
Is the release set right?