From owner-freebsd-current@FreeBSD.ORG Tue Sep 30 01:57:49 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 B7DCB2A9 for ; Tue, 30 Sep 2014 01:57:49 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (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 8E6063D8 for ; Tue, 30 Sep 2014 01:57:49 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id lj1so3889054pab.10 for ; Mon, 29 Sep 2014 18:57:49 -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:mime-version:content-type :content-disposition:user-agent; bh=WXvlKK1SA2OapcPVZKU+pf9n9ImeuMVax+7P97y2PoA=; b=AKUlSMvOUtVSzkawjbgcb0WOlaRBVe25fukD9VDfpV8GRuO08WFvBOwIJr4WXm804R Er/AwIKXeZ0F3KNceRqpad4Tifkc1CsZFff/2nZHmcb9x1tTtR5R/EGMR7Fd1o9i3s1e cEc7ih7jwniq5nkIPx2u55hS2h5J1/VCPWaYwqgxIZNguidabYkqmCAuZjq7R+qDaRKW iq8rJBPXKd4LT874WbhEhHc2Q+l6KZgu+U0nXDnsO3sm53NVzeBGaD/5cjfMLDDv+gew KdqHccDJwJ0H4n8ZyoTOfkAlLYvo/Yr0IkNYiAKRVdzD1wHCLeX4+zpIRrk3JLkmmN35 GjqQ== X-Received: by 10.68.233.68 with SMTP id tu4mr67119478pbc.65.1412042269174; Mon, 29 Sep 2014 18:57:49 -0700 (PDT) Received: from pyunyh@gmail.com ([106.247.248.2]) by mx.google.com with ESMTPSA id d9sm214582pdm.5.2014.09.29.18.57.45 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Sep 2014 18:57:47 -0700 (PDT) From: Yonghyeon PYUN X-Google-Original-From: "Yonghyeon PYUN" Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 30 Sep 2014 10:57:41 +0900 Date: Tue, 30 Sep 2014 10:57:41 +0900 To: freebsd-current@freebsd.org Subject: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support Message-ID: <20140930015741.GA2451@michelle.fasterthan.com> Reply-To: pyunyh@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Tue, 30 Sep 2014 01:57:49 -0000 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.