Bug 11325 - ne2000 driver
Summary: ne2000 driver
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-09 11:01 UTC by Sergey
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-05-10 03:39:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Sergey 2000-05-09 11:01:55 UTC
I have NE2000 compatible  ISA network card.
After compiling the kernel with non-module ne2000 support network stopped
working, because the kernel doesn't probe correct IO ports in my card -
0x240.

Solution:
in the file:  /usr/src/linux/drivers/net/ne.c

To the list of ports , which kernel probe  add 0x240 ( 0x220,0x260 ) :

static unsigned int netcard_portlist[] __initdata =
{
  0x240, 0x200, 0x220, 0x260, 0x280, 0x300, 0x320, 0x340, 0x360, 0x380, 0
};

At the moment there it is :

static unsigned int netcard_portlist[] __initdata =
{
  0x280, 0x300, 0x320, 0x340, 0x360, 0x380, 0
};

Comment 1 Doug Ledford 2000-05-10 03:39:59 UTC
This isn't a bug in the Red Hat kernels since we ship that as a module, not
compiled into the kernel.  If you are going to compile your own kernel and
include this driver directly into the kernel and not as a module, then you are
also responsible for making sure it knows where to find your card.  Adding more
ports to the static probe list isn't a wise thing to do for all systems since
240 is commonly owned by non-network card devices (lots of sound cards use this
port for instance) and probing in an address owned by another card can lock it
up.  Therefore, the probe lists are kept conservative.


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