From owner-freebsd-net@FreeBSD.ORG Sat Oct 24 21:52:21 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8235106566C for ; Sat, 24 Oct 2009 21:52:21 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8AA098FC16 for ; Sat, 24 Oct 2009 21:52:21 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so434195qwb.7 for ; Sat, 24 Oct 2009 14:52:20 -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=pLNTnTsB04ya/NycE/FgFaaIfrxBLGwsv3se718/D7k=; b=hEXLP4PPNpq1306cHaa2MtrDAmNlykFuTEpI7HwWVhGS/K6RYB7PQJvKVgUjeL8os6 q+1I6v4Hzcypsf538/TIhaAHuyoI9UHEnnUBl+Kf4ItXwKTqDBMPxNm3rg4QpbCXN/mI yMBA71uBjc0jFBKfqsYbKNfXVTu7Ox4icoRnk= 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=nGDv+Cd+CToyDAo99lbOdnjBClo2dQOYRqqZMCAzsaJ28ASVKFHkn+LloietXqNnce F+jqV+VEy1scM5xUGokxCaCBTfAAo0UwlZCAbpF+JblZ6N84sHG5wnTJFm/W/oOZjGwo kXU6APh0/6gLysb8uKFfAg1Cb1vnzIAUV5AmY= Received: by 10.224.36.139 with SMTP id t11mr6323711qad.350.1256421140657; Sat, 24 Oct 2009 14:52:20 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm4951039qwj.41.2009.10.24.14.52.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Oct 2009 14:52:18 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sat, 24 Oct 2009 14:52:19 -0700 From: Pyun YongHyeon Date: Sat, 24 Oct 2009 14:52:19 -0700 To: kalin m Message-ID: <20091024215219.GF6050@michelle.cdnetworks.com> References: <4AE2780F.4080600@el.net> <20091024214640.GE6050@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091024214640.GE6050@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: Marvell 88E8057 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, 24 Oct 2009 21:52:21 -0000 On Sat, Oct 24, 2009 at 02:46:40PM -0700, Pyun YongHyeon wrote: > On Fri, Oct 23, 2009 at 11:44:15PM -0400, kalin m wrote: > > > > hi all.. > > > > does anybody here know if freebsd has a driver for Marvell 88E8057 nic chip? > > > > according to the kernel list of drivers (7.2) marvell chips are driven > > by the msk driver. but it doesn't show up in pciconf, dmesg or > > sysinstall.... > > strangely enough 88E8057 is not in the list in man msk. although 88E8056 > > and 88E8058 are. is this just bad luck?! > > > > I think 88E8057(Yukon Ultra 2) is the latest chipset from Marvell > and no one ever expressed his/her willingness to try experiment > patch. I guess msk(4) in HEAD has all required features to support > 88E8057. Would you try attached patch? > > The patch was generated against HEAD. If you have to use 7.2-RELEASE > copy the following files from HEAD and apply attached patch. > > /usr/src/sys/dev/msk/if_msk.c > /usr/src/sys/dev/msk/if_mskreg.h > /usr/src/sys/dev/mii/miidevs > /usr/src/sys/dev/mii/e1000phy.c > /usr/src/sys/dev/mii/e1000phyreg.c ^^^^^^^^^^^^^^ It should be read e1000phyreg.h