From owner-freebsd-current@FreeBSD.ORG Thu Oct 2 05:07:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E874CB7 for ; Thu, 2 Oct 2014 05:07:42 +0000 (UTC) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5C522B1 for ; Thu, 2 Oct 2014 05:07:41 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id fb1so1591388pad.25 for ; Wed, 01 Oct 2014 22:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=3OnPcI4nwjTTNOTtnFuVrngOcdnCs5wDE9/o0SOleYQ=; b=zP/8jwCXUS073jYEry7FQGZh+XIQHAaEUt/kIhvV4xa2rSD0+Wucm2IvF6qLSdpU4g XPkvkWffFI11hxllsj9j9JyAPizcBlbUyP3mv8SILqDKE3k2F/d2UaLTv/62OELBujWt SqdFa358WRNiXqeYQM3WskCMGAA1ytmKm6Vxvm8Jnt7gJi87S6j9ReO4AcvjyLDqowvo eVfeTnmNrBsq2iyai+BJIdwMvB0INsInnHKb2+dcQsOxVDhp0BQlJH/Cwkua3gTr6s2K owsiEnO9c7JerBtNncos50stF90+DQgFvMaeF/VCe1ebkFs9o+glsVCNo2Kj4gIVsXFr S7pQ== X-Received: by 10.68.136.2 with SMTP id pw2mr85383529pbb.39.1412226461255; Wed, 01 Oct 2014 22:07:41 -0700 (PDT) Received: from pyunyh@gmail.com ([106.247.248.2]) by mx.google.com with ESMTPSA id zn2sm2391316pbb.41.2014.10.01.22.07.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 01 Oct 2014 22:07:39 -0700 (PDT) From: Yonghyeon PYUN X-Google-Original-From: "Yonghyeon PYUN" Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 02 Oct 2014 14:07:30 +0900 Date: Thu, 2 Oct 2014 14:07:30 +0900 To: freebsd-current@freebsd.org Subject: Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support Message-ID: <20141002050730.GA964@michelle.fasterthan.com> Reply-To: pyunyh@gmail.com References: <20140930015741.GA2451@michelle.fasterthan.com> <20141001013637.GD2632@michelle.fasterthan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141001013637.GD2632@michelle.fasterthan.com> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 05:07:42 -0000 On Wed, Oct 01, 2014 at 10:36:37AM +0900, Yonghyeon PYUN wrote: > On Tue, Sep 30, 2014 at 10:57:41AM +0900, Yonghyeon PYUN wrote: > > Hi, > > I've added support for QAC AR816x/AR817x ethernet controllers. It > > passed my limited testing and I need more testers. You can find > > patches from the following URLs. > > > > http://people.freebsd.org/~yongari/alc/pci.quirk.diff > > and > > http://people.freebsd.org/~yongari/alc/alc.diff.20140930 > > > > pci.qurik.diff is to workaround silicon bug of AR816x. Without it > > MSI/MSIX interrupt wouldn't work. If you just want to use > > legacy INTx interrupt you don't have to apply it but you have to > > tell alc(4) not to use MSI/MSIX interrupt with tunables( > > hw.alc.msi.disable and hw.alc.msix_disable). > > > > alc.diff.20140930 will add support for AR8161/AR8162/AR8171/AR8172 > > and E2200 controllers. It supports all hardware features except > > RSS. If you have any QAC AR816x/AR817x or old AR813x/AR815x > > controllers please test and report how the diff works for you. > > Thanks. > > http://people.freebsd.org/~yongari/alc/pci.quirk.diff > http://people.freebsd.org/~yongari/alc/alc.diff.20141001 > > Patch updated to address link establishment issue. http://people.freebsd.org/~yongari/alc/alc.diff.20141002 Patch updated again to correct wrong lock assertion.