Date: Sat, 21 Apr 2007 22:28:13 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Rajkumar S <rajkumars@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Porting a driver from RELENG_6 to RELENG_6_2 Message-ID: <20070422022813.GA87874@xor.obsecurity.org> In-Reply-To: <64de5c8b0704210224n809dac9ybdc8b831e3431b06@mail.gmail.com> References: <64de5c8b0704210224n809dac9ybdc8b831e3431b06@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Apr 21, 2007 at 02:54:54PM +0530, Rajkumar S wrote:
> Hi,
>
> I have a Marvell Yukon 88E8050 Gigabit Ethernet which came with my
> motherboard. When looking for it's driver I found that RELENG_6
> supports it, and the driver is located at sys/dev/msk/ But I am using
> RELENG_6_2.
>
> Is it advisable to take this driver from RELENG_6 to RELENG_6_2? Is
> there some established method to get a diff of this driver alone and
> apply it to RELENG_6_2?
There is a good chance that you can just copy the files in this
directory from RELENG_6 and it will work on RELENG_6_2 (since those
two versions are still close together). You will also need some of
the changes in sys/conf/ to "glue" it into the kernel build, which you
can extract from the CVS (see e.g. cvsweb). Or you can copy the
sys/modules/${whatever} directory too and it should be buildable as a
standalone module.
If you are unlucky then the driver may rely on changes made after the
release of 6.2 and you will have to either back-port those changes too
(or just run RELENG_6).
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGKsg8Wry0BWjoQKURAvZqAKD6x7c8pXOoZYU8xClodnY4PAiUBACfWwBl
HPnTlDowv0sZXPDIWH+ZnfA=
=8YuC
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070422022813.GA87874>
