From owner-freebsd-net@FreeBSD.ORG Wed Apr 4 11:38:57 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63CBA16A401 for ; Wed, 4 Apr 2007 11:38:57 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1382A13C44C for ; Wed, 4 Apr 2007 11:38:56 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so75454nza for ; Wed, 04 Apr 2007 04:38:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=h4c9m8IOuKMguQecDS6lwiaEij4DJxzF2XJCLJRFPaL6wDDDrbQuF//8jp223A110ZJBaD33/6W/+XyTt0/z8Ce2YolXhPM8g1Ayk2Y3N6fBi6BbvgP5tzQhPBSiBgnJRFi7XziHTp2Xui66W9iqSr/4e234fVQ44XdZkl9Ilm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=mQrpMmLPwg7g+NKtdUL0qzD1QaDofJ67n77wjlxthBbbF68gFkPoN5FpgyqzXKuWdhl2jOC9kLhAx+xhlB6AxTUvZaFm14eNTtJnLtpBzTkMtnvgsSUQEDaG2ukqRhrMfWWH9ObatRUcMVri7d+SkEHRCJX+Ds9thHIIMXkYXNg= Received: by 10.64.150.18 with SMTP id x18mr1045713qbd.1175685101205; Wed, 04 Apr 2007 04:11:41 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 15sm2021018nzn.2007.04.04.04.11.37; Wed, 04 Apr 2007 04:11:38 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l34BC0wP013698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Apr 2007 20:12:00 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l34BBx55013697; Wed, 4 Apr 2007 20:11:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 4 Apr 2007 20:11:58 +0900 From: Pyun YongHyeon To: Marv Message-ID: <20070404111158.GB11525@cdnetworks.co.kr> References: <20070404100200.GA1167@home.bh.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20070404100200.GA1167@home.bh.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: if_msk in 6.2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 11:38:57 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 04, 2007 at 12:02:00PM +0200, Marv wrote: > Hi, > > I have a new notebook with a 'Marvell Semiconductor (Was: Galileo > Technology Ltd)' internel network card. (card=0x01101025 > chip=0x8039104c) > I guess you've got Marvell 88E8039. > I installed FreeBSD 6.2 i386 and downloaded the msk driver from > http://people.freebsd.org/~yongari/msk/. I applied the patches > msk.HEAD.diff and the e1000phy.diff patch. I also tried the > e1000phy.20061219.fbsd62.patch but the kernel does not compile. > > Does anybody know which exact steps I have to follow so that the driver > works? > You will have to update to RELENG_6 or CURRENT to get msk(4). But msk(4) still does not support 88E8039. I'm not sure just adding PCI id is enough to make it work. Try attached patch after updating to CURRENT. -- Regards, Pyun YongHyeon --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_msk.patch" Index: if_msk.c =================================================================== RCS file: /home/ncvs/src/sys/dev/msk/if_msk.c,v retrieving revision 1.11 diff -u -r1.11 if_msk.c --- if_msk.c 4 Mar 2007 03:38:07 -0000 1.11 +++ if_msk.c 4 Apr 2007 11:08:51 -0000 @@ -190,6 +190,8 @@ "Marvell Yukon 88E8036 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_8038, "Marvell Yukon 88E8038 Gigabit Ethernet" }, + { VENDORID_MARVELL, DEVICEID_MRVL_8039, + "Marvell Yukon 88E8039 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4361, "Marvell Yukon 88E8050 Gigabit Ethernet" }, { VENDORID_MARVELL, DEVICEID_MRVL_4360, Index: if_mskreg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/msk/if_mskreg.h,v retrieving revision 1.3 diff -u -r1.3 if_mskreg.h --- if_mskreg.h 29 Dec 2006 04:55:38 -0000 1.3 +++ if_mskreg.h 4 Apr 2007 11:08:52 -0000 @@ -130,6 +130,7 @@ #define DEVICEID_MRVL_8035 0x4350 #define DEVICEID_MRVL_8036 0x4351 #define DEVICEID_MRVL_8038 0x4352 +#define DEVICEID_MRVL_8039 0x4353 #define DEVICEID_MRVL_4360 0x4360 #define DEVICEID_MRVL_4361 0x4361 #define DEVICEID_MRVL_4362 0x4362 --3MwIy2ne0vdjdPXF--