From owner-freebsd-net@FreeBSD.ORG Sat Nov 25 01:50:45 2006 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 3AA0E16A40F for ; Sat, 25 Nov 2006 01:50:45 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DABB43D53 for ; Sat, 25 Nov 2006 01:49:57 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so947931wxc for ; Fri, 24 Nov 2006 17:50:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=X4La5X3TwVUlVwpN4XBQgjA3qqmmpsR+AIqCrEfARZxAnZEtQwsgvg190uxXdPdOlP3/fN8/EIcdKYOzFWPXRR/jS0KtX8Jppf6bevGPAq1qPK8sj9YBTSzxS9sZ74xRcq3X66fluPkXvrL0MbGOb92k1CHUZhHH5VtdKqsdj6A= Received: by 10.70.21.10 with SMTP id 10mr1992504wxu.1164419441180; Fri, 24 Nov 2006 17:50:41 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 34sm964102wra.2006.11.24.17.50.39; Fri, 24 Nov 2006 17:50:41 -0800 (PST) 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 kAP1qQxT052026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Nov 2006 10:52:26 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id kAP1qNH3052025; Sat, 25 Nov 2006 10:52:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 25 Nov 2006 10:52:23 +0900 From: Pyun YongHyeon To: Nicolae Namolovan Message-ID: <20061125015223.GA51565@cdnetworks.co.kr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, andre@freebsd.org, support@syskonnect.de Subject: Re: Marvell Yukon 88E8056 FreeBsd Drivers 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: Sat, 25 Nov 2006 01:50:45 -0000 On Fri, Nov 24, 2006 at 03:33:21PM +0200, Nicolae Namolovan wrote: > I took the hack from http://kerneltrap.org/node/7135, that guy said > that in linux you must "add the 4364 devID into sky2.c symply search > for 4363". > > I apply the same idea to > http://people.freebsd.org/~andre/mykbsd60x86-8.12.1.3-src.tgz, > modifyed oem.c and oem.h, > > oem.c > { VENDOR_ID_MRVL, DEV_ID_MRVL_4361, SUBVENDOR_ID_ANY, SUBDEVICE_ID_ANY, > "Marvell 88E8050 Gigabit Ethernet Controller, Ver. 8.12.1.3"}, > { VENDOR_ID_MRVL, DEV_ID_MRVL_4362, SUBVENDOR_ID_ANY, SUBDEVICE_ID_ANY, > "Marvell 88E8053 Gigabit Ethernet Controller, Ver. 8.12.1.3"}, > + /* custom add..not sure */ > + { VENDOR_ID_MRVL, DEV_ID_MRVL_4364, SUBVENDOR_ID_ANY, SUBDEVICE_ID_ANY, > + "Marvell 88E8056 Gigabit Ethernet Controller, Ver. 8.12.1.3"}, > > > oem.h > > #define DEV_ID_MRVL_4362 0x4362 > + /* custom add..not sure */ > + #define DEV_ID_MRVL_4364 0x4364 > > After I compile it. > > That was sufficient to make this driver to hook mine Marvell Yukon > 88E8056, I can see it in ifconfig but i get: > > "status: no carrier" > > Tried to make the interface down/up, put away/back the network cable, > didn't help.. Still "no carrier". > > But it works fine under M Windows (so the problem is not in network > cable or the network device).. > > Any suggestions ? > > Maybe I must load the Windows drivers with NDIS, but I'm afraid of > performance degradation/instability ? > > Marvell Yukon 88E8056 are in the popular ASUS P5B and Gigabyte 965P-S3 > motherboards. > You can find latest msk(4) at the following URL. http://people.freebsd.org/~yongari/msk/msk.HEAD.diff It supports the device ID you mentioned but I don't know whether it works or not. ATM the driver has three known issues. o poor Rx performance I'm working on this but had no clue so far. o 88E8055 hangup : One user reported system freeze when msk(4) is loaded. Since I don't have the hardware it's very hard to fix. :-( o Manual speed selection doesn't seem to work. It needs additional code for e1000phy(4) to fix. You need latest CURRENT to aplly the patch. The driver will print very ugly number sequnces but you can safely ingore it. -- Regards, Pyun YongHyeon