From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 22 08:55:56 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A6381065679 for ; Tue, 22 Jun 2010 08:55:56 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4E96D8FC17 for ; Tue, 22 Jun 2010 08:55:54 +0000 (UTC) Received: by fxm7 with SMTP id 7so2724263fxm.13 for ; Tue, 22 Jun 2010 01:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hwgVGhnIxodXJxTQm20/6EJXGkk7AcWgkjsXCSpNDbU=; b=PaubhGDc3hDwy2daq0cHuKdWDY/KPPNB34gr2e+h4ukB8NCLhtRJdg29AdxyLX1dmB q6OCz2ibxucW0tYtg7v+B2NUSuPS0un/TUycayuy5iAuW9o+0mHXNyRg+umYGXIvQH3I 0OJ7mwYnLAMSZyeCb3a/xuUaoGOQs9kpYSjcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XYh9dHf6IJutfnzI/EA6q7zHG8JfuVbYQwU2UNaYCC0WCeE+3YueHVaHK3DDGjonL2 5NK/1nRZJ9WlPgS3ooJDHYp+nmBo8mo2G+bWvs6Oq52ug/pn5ah6S16u5X29xWQcHrBW OvC6EkBpsUDh8vor6Y4ucBpudaV199zyMqMTs= MIME-Version: 1.0 Received: by 10.239.181.73 with SMTP id l9mr441516hbg.139.1277196954005; Tue, 22 Jun 2010 01:55:54 -0700 (PDT) Received: by 10.239.185.1 with HTTP; Tue, 22 Jun 2010 01:55:53 -0700 (PDT) In-Reply-To: <50B3A5560BA4D74CADEC55A48B4641B23D5AD26EBF@EMBX01-HQ.jnpr.net> References: <50B3A5560BA4D74CADEC55A48B4641B23D5AD26EBF@EMBX01-HQ.jnpr.net> Date: Tue, 22 Jun 2010 09:55:53 +0100 Message-ID: From: Tom Evans To: Anjali Kulkarni Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-hackers@freebsd.org" Subject: Re: About Marvell Yukon drivers skgeinit and sky2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 08:55:56 -0000 On Mon, Jun 21, 2010 at 8:09 PM, Anjali Kulkarni wrote= : > Hi, > > As I understand, there are 2 flavors of the Marvel Yukon driver. One is f= or Yukon-I devices, and is called skgeinit, and other is for Yukon-II devic= es and called sky2 driver. > Looking at the release notes for 7.0, it looks like this driver which was= in sys/dev/yukon, is now present as the msk(4) driver in sys/dev/msk and s= ys/dev/sk?. I do not see a yukon under dev anymore. I see only 2 files in t= he msk directory, is it really moved here? > Is the Yukon-II sky2 driver support present in Freebsd 6.1? How easy woul= d it to backport this to 6.1? > If yes, then is there a way to disable the skgeinit(which seems to be the= default) and enable the sky2 driver? > > Anjali In linux, sure, there are two drivers for Marvel Yukon cards, called skgeinit and sky2. This is FreeBSD though, which has drivers called sk and msk. If you check the man pages for those drivers, it even tells you the history of when those drivers were added to FreeBSD. I think that the two drivers support different chipsets, so neither is 'default'. msk(4) was added in 6.3, so backport to 6.1 might be possible - have you tried taking the driver from 6.3 and compiling it on 6.1? 6.1 is no longer one of the 'supported' branches of FreeBSD, you may consider upgrading to a version that is. Cheers Tom