Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 12:44:45 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        W Alexander Hagen <aligzanduh@yahoo.com>
Cc:        net@freebsd.org
Subject:   Re: Hot to Update and recompile an device driver 
Message-ID:  <20020204204445.8DF855D0D@ptavv.es.net>
In-Reply-To: Your message of "Mon, 04 Feb 2002 12:06:13 PST." <20020204200613.18484.qmail@web9902.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 4 Feb 2002 12:06:13 -0800 (PST)
> From: W Alexander Hagen <aligzanduh@yahoo.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020204204445.8DF855D0D>