From owner-freebsd-net@FreeBSD.ORG Sat Dec 13 01:56:33 2008 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 22135106564A for ; Sat, 13 Dec 2008 01:56:33 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id DBD068FC08 for ; Sat, 13 Dec 2008 01:56:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1626258rvf.43 for ; Fri, 12 Dec 2008 17:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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; bh=kcMsXiRtWkmmP7XbhA/kY/LFM6vAiPbM2513Qt4fB8w=; b=F5I1auMutwCwALX9BF9QobglRSr7TrHMHdbEKB+hH0+mVqheFMqWI+nGklhn2o/A51 uOAPH+BlhKPEniQuqy3YLKd2+fJf5TEr+YQqv71KMTRwRw/BtXfZhl1NVxVeBy2t4MUd Z5swvLaWL1faH3iNxJUhKPHSEqXWNCnad2azU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=g2/nCrlH6Qth6D7TCU8vju2PZVS1mPCDCITJ426vrQLsr7yHIGkkP57dGSwdrY2hRU tJHG5LO6VKN8H/KCDlj9EHVtxyVkA4g/O1HC9RktkzSrEr65wlmsOrgZllmN76TWpi8p 2NiWF4ryPCCYDRUeTNcnNQYLaW1uKfphUra14= Received: by 10.141.151.18 with SMTP id d18mr2234894rvo.134.1229133392456; Fri, 12 Dec 2008 17:56:32 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id g31sm7015746rvb.4.2008.12.12.17.56.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Dec 2008 17:56:31 -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 mBD1uMJ2051595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Dec 2008 10:56:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mBD1uMNh051594; Sat, 13 Dec 2008 10:56:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 13 Dec 2008 10:56:22 +0900 From: Pyun YongHyeon To: Mam Ruoc Message-ID: <20081213015622.GD51320@cdnetworks.co.kr> References: <4d591a210811281220o7bdd420uafec124fc7e770a8@mail.gmail.com> <20081129065950.GG99324@cdnetworks.co.kr> <494199E2.5050806@gmail.com> <20081212015842.GH46707@cdnetworks.co.kr> <4941C6BF.4080809@gmail.com> <20081212021549.GJ46707@cdnetworks.co.kr> <49429CEB.60607@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49429CEB.60607@gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: vge driver does not work on a VIA EPIA EN12000EG 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, 13 Dec 2008 01:56:33 -0000 On Fri, Dec 12, 2008 at 06:18:35PM +0100, Mam Ruoc wrote: > Pyun YongHyeon wrote: > >And rebuild kernel and then reboot. You don't need to reinstall > >FreeBSD. > > Oki, > > I have done that and rebooted, the driver seems to work better now: > > Dec 12 17:47:16 freebsd kernel: vge0: > port 0xf800-0xf8ff mem 0xfdffe000-0xfdffe0ff irq 18 at device 14.0 on pci0 > Dec 12 17:47:16 freebsd kernel: vge0: MSIX count : 0 > Dec 12 17:47:16 freebsd kernel: vge0: MSI count : 0 > Dec 12 17:47:16 freebsd kernel: miibus0: on vge0 > Dec 12 17:47:16 freebsd kernel: vge0: Ethernet address: 00:40:63:e9:9a:1c > Dec 12 17:47:16 freebsd kernel: vge0: [FILTER] > > What is the next step to be able to make this fix go into the FreeBSD > 7.0 tree? > I don't know. :-( As I said I no longer have working vge(4) hardware and it's hard to write/test driver without access to the hardware. The code you've tested contains changes related to MII operation mode and critical register configuration as well as other improvements. The driver still needs special handling in several edge cases and more code to track link state transition, interrupt moderation etc. -- Regards, Pyun YongHyeon