Porting a driver from RELENG_6 to RELENG_6_2

Kris Kennaway kris at obsecurity.org
Sun Apr 22 02:28:14 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070422/2323013d/attachment.pgp


More information about the freebsd-questions mailing list