From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 1 22:22:03 2010 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A62E4106566C for ; Thu, 1 Jul 2010 22:22:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5338FC0C for ; Thu, 1 Jul 2010 22:22:02 +0000 (UTC) Received: by pzk12 with SMTP id 12so449043pzk.13 for ; Thu, 01 Jul 2010 15:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=EpWK9IV/RO0HQpksWDIxI4YQM7MXaFcBTlggVkLyahc=; b=l9uZVFTNOx/obHVieF+dniTHZrFA6qIFKJYJPY4z76mkoOLeT85mV7YkbuTRhA0yv0 XS31qEHHs71URRylhhKcb8XUDEaHX8SjZ1+bdTnF6ag7yX8SvCt4Iv+n7NoO7PCLv8n9 zEQVhepnPifIo4A0iBFBUwi8UHHqkj7eei59Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=sMHTkSCdsgTXlZzjv6+Cd/jKznlZMVNXt+xzWrQZueOzXu6QseWd1w6yB8CPGNPBNe Dvf2/sh3lfyPMnrdjIIkINvflBzQ2U+blmEdNuI4558qU980aVo9AJdMZe1pixITh+UQ 100MOxt8oVDBCpeGVjSZn2c4zJhB9rJodUGTM= Received: by 10.142.207.9 with SMTP id e9mr116070wfg.331.1278022917196; Thu, 01 Jul 2010 15:21:57 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id f2sm7586998wfp.11.2010.07.01.15.21.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 15:21:56 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 1 Jul 2010 15:21:29 -0700 From: Pyun YongHyeon Date: Thu, 1 Jul 2010 15:21:29 -0700 To: Anjali Kulkarni Message-ID: <20100701222129.GE7090@michelle.cdnetworks.com> References: <50B3A5560BA4D74CADEC55A48B4641B23D5AD26EBF@EMBX01-HQ.jnpr.net> <50B3A5560BA4D74CADEC55A48B4641B23D5AD26ECF@EMBX01-HQ.jnpr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50B3A5560BA4D74CADEC55A48B4641B23D5AD26ECF@EMBX01-HQ.jnpr.net> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-drivers@freebsd.org" Subject: Re: About Marvell Yukon drivers skgeinit and sky2 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 22:22:03 -0000 On Mon, Jun 21, 2010 at 08:48:21PM -0700, Anjali Kulkarni wrote: > Hi, > > As I understand, there are 2 flavors of the Marvel Yukon driver. One is for Yukon-I devices, and is called skgeinit, and other is for Yukon-II devices 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 sys/dev/sk?. I do not see a yukon under dev anymore. I see only 2 files in the msk directory, is it really moved here? No. msk(4) supports Marvell Yukon II controllers. > Is the Yukon-II sky2 driver support present in Freebsd 6.1? How easy would it to backport this to 6.1? No. Backporting msk(4) from stable/8 and stable/7 to 6.1 may require some work and time due to KPI differences but it's doable if you spend some time. > If yes, then is there a way to disable the skgeinit(which seems to be the default) and enable the sky2 driver? > You don't need to disable skgeinit and sky2. Actually I don't know where you got the name of skgeinit. AFAIK skgeinit is a function name of vendor's Linux driver. > Anjali