From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 05:59:23 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C5B6A99 for ; Wed, 8 Oct 2014 05:59:23 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (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 3EF6CABE for ; Wed, 8 Oct 2014 05:59:23 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id y10so6312999pdj.37 for ; Tue, 07 Oct 2014 22:59:22 -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=H5u6oQfGBHQJ/t37ULyKskn6RbBofRPmtMtq/yykQW0=; b=LPFe8mJ4JtoYIH0Pb5ZW+5KfrbpRYuaEsHwyw4Nz6u1GYn/QrvAFwIshjDEWz01Sbn +54IVS3dGZjKsRseRwV7u+6nxNMMNhS/9VKAOAncjhdcpDIq9SGcDaqpI5odNSCV7lYW qcbkxfdds2Mh7WptJfp7dynSsm6mNh94VQ7+4VwUd2mV3uSLjoZ/1mU3Nw9EuhbxuY4O ycHRkyZ5cFw5VDX/lCyqXftBs6y9ZjaX8YQyG4PIQttHtLOxhPNT4Dps5fwdUfLjnMU6 +ftd8SleO7WrZq2WsYkpbbLmu70FfMyZI0nRus2v0T1RSFCqShge7n1OBBg/K4md6Tcm OXyw== X-Received: by 10.66.152.41 with SMTP id uv9mr8096251pab.25.1412747962782; Tue, 07 Oct 2014 22:59:22 -0700 (PDT) Received: from pyunyh@gmail.com ([106.247.248.2]) by mx.google.com with ESMTPSA id js7sm17490584pbc.62.2014.10.07.22.59.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 07 Oct 2014 22:59:21 -0700 (PDT) From: Yonghyeon PYUN X-Google-Original-From: "Yonghyeon PYUN" Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 08 Oct 2014 14:59:11 +0900 Date: Wed, 8 Oct 2014 14:59:11 +0900 To: freebsd-current@freebsd.org Subject: Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support Message-ID: <20141008055911.GA970@michelle.fasterthan.com> Reply-To: pyunyh@gmail.com References: <20140930015741.GA2451@michelle.fasterthan.com> <20141001013637.GD2632@michelle.fasterthan.com> <20141002050730.GA964@michelle.fasterthan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141002050730.GA964@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: Wed, 08 Oct 2014 05:59:23 -0000 On Thu, Oct 02, 2014 at 02:07:30PM +0900, Yonghyeon PYUN wrote: > 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. FYI: I've committed all the changes required to support AR816x/AR817x.