From owner-freebsd-questions@FreeBSD.ORG Sun Apr 22 02:28:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B41016A404 for ; Sun, 22 Apr 2007 02:28:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1790F13C459 for ; Sun, 22 Apr 2007 02:28:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 437E11A4D84; Sat, 21 Apr 2007 19:28:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6C23751387; Sat, 21 Apr 2007 22:28:13 -0400 (EDT) Date: Sat, 21 Apr 2007 22:28:13 -0400 From: Kris Kennaway To: Rajkumar S Message-ID: <20070422022813.GA87874@xor.obsecurity.org> References: <64de5c8b0704210224n809dac9ybdc8b831e3431b06@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <64de5c8b0704210224n809dac9ybdc8b831e3431b06@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Porting a driver from RELENG_6 to RELENG_6_2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2007 02:28:14 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 21, 2007 at 02:54:54PM +0530, Rajkumar S wrote: > Hi, >=20 > 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. >=20 > 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 --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGKsg8Wry0BWjoQKURAvZqAKD6x7c8pXOoZYU8xClodnY4PAiUBACfWwBl HPnTlDowv0sZXPDIWH+ZnfA= =8YuC -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--