From owner-freebsd-questions  Wed Apr  3 15:18: 9 2002
Delivered-To: freebsd-questions@freebsd.org
Received: from IMGate1.cshore.com (imgate1.cshore.com [63.237.136.14])
	by hub.freebsd.org (Postfix) with ESMTP id 9B30937B417
	for <freebsd-questions@freebsd.org>; Wed,  3 Apr 2002 15:18:04 -0800 (PST)
Received: from liszt (unknown [63.237.136.101])
	by IMGate1.cshore.com (Postfix) with SMTP id 22A9723EE2
	for <freebsd-questions@freebsd.org>; Wed,  3 Apr 2002 18:24:56 -0500 (EST)
Reply-To: <noc@cshore.com>
From: "Andrew Kaplan" <noc@cshore.com>
To: <freebsd-questions@freebsd.org>
Subject: compile Realtek 8139C+ support in 4.5 kernel
Date: Wed, 3 Apr 2002 18:08:15 -0500
Message-ID: <04bb01c1db64$6fae7000$6588ed3f@liszt.cshore.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

But I'm having difficulty recompiling my 4.5 kernel to support the Realtek
Rtl8139C+ on motherboard nic. Below are the instructions.

I followed the instructions (recompiled without any error messages) but the
NIC still isn't working.

I'm afraid I don't understand:

>>0.Replace your NIC with 8139C+.

 The nic is built in to the motherboard. I see "rl" listed under PCI nics
when I vi GENERIC. I assume I need to change something in this file. I just
don't know what.


>>>>>>>>>>>>>>>>>>>>.
This driver is modified by Realtek Semiconductor corp. and it has been
tested OK
on FreeBSD 4.3. Because the FreeBSD kernel has a default Rtl8139C driver,
this
default driver will be loaded even though the NIC on your computer is
Rtl8139C+
(because they have the same vender ID and device ID). To use the new
features of
8139C+, you need to update your NIC driver and recompile your FreeBSD
kernel.

The main steps you have to do:(FreeBSDSrcDir means the directory of FreeBSD
source code
and it may be "/usr/src/sys")

	0.Replace your NIC with 8139C+.
	1.copy if_rl.c and if_rlreg.h to /FreeBSDSrcDir/pci directory
	2.copy rl directory to /FreeBSDSrcDir/modules directory
	3.recompile your kernel	(you must install your FreeBSD source code first
!!)

		# cd /usr/src/sys/i386/conf
		# /usr/sbin/config GENERIC
		# cd ../../compile/GENERIC
		# make depend
		# make
		# make install
		# reboot

Andrew P. Kaplan
Network Administrator
CyberShore, Inc.
http://www.cshore.com


"Your mouse has moved. Windows NT must be restarted for the change to take
effect. Reboot now? [ OK ]"





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.332 / Virus Database: 186 - Release Date: 3/6/02


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message