From owner-freebsd-net Mon Feb 4 12:44:49 2002 Delivered-To: freebsd-net@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id C7AF037B422 for ; Mon, 4 Feb 2002 12:44:45 -0800 (PST) Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 8DF855D0D; Mon, 4 Feb 2002 12:44:45 -0800 (PST) To: W Alexander Hagen Cc: net@freebsd.org Subject: Re: Hot to Update and recompile an device driver In-reply-to: Your message of "Mon, 04 Feb 2002 12:06:13 PST." <20020204200613.18484.qmail@web9902.mail.yahoo.com> Date: Mon, 04 Feb 2002 12:44:45 -0800 From: "Kevin Oberman" Message-Id: <20020204204445.8DF855D0D@ptavv.es.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Date: Mon, 4 Feb 2002 12:06:13 -0800 (PST) > From: W Alexander Hagen > Sender: owner-freebsd-net@FreeBSD.ORG > > What is the best way to update FreeBSD 4.3 AN driver only ? Short form: 1. Figure out which files you will be editing and make copies of the originals in /sys/dev/an/. (I usually append '.orig' to the file name. 2. cd /sys/dev/an and update/edit the files you want to change. (The an driver is made up of 5 different source files.) 3. cd /usr/sys 4. make kernel KERNCONF=your_kernel_config_name 5. Reboot new kernel. If you are using the loadable module you can try unloading the module and re-loading it, but this MAY crash your system as some kernel modules don't unload cleanly. (kldunload/kldload) That's it. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message