Bug 62137 - Compile stops on "if ((!CONFIG_PCI)..."
Summary: Compile stops on "if ((!CONFIG_PCI)..."
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pete Zaitcev
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-27 20:16 UTC by jm999
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-03 21:34:47 UTC
Embargoed:


Attachments (Terms of Use)

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?



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