From owner-cvs-src-old@FreeBSD.ORG Thu Jun 18 06:05:11 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE4ED106566C for ; Thu, 18 Jun 2009 06:05:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFDF8FC25 for ; Thu, 18 Jun 2009 06:05:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5I65Bq5059913 for ; Thu, 18 Jun 2009 06:05:11 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5I65B3F059912 for cvs-src-old@freebsd.org; Thu, 18 Jun 2009 06:05:11 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <200906180605.n5I65B3F059912@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Thu, 18 Jun 2009 06:03:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/boot/forth loader.conf src/sys/conf NOTES files src/sys/dev/alc if_alc.c if_alcreg.h if_alcvar.h src/sys/i386/conf GENERIC src/sys/modules Makefile src/sys/modules/alc Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 06:05:12 -0000 yongari 2009-06-18 06:03:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC sys/boot/forth loader.conf sys/conf NOTES files sys/i386/conf GENERIC sys/modules Makefile Added files: (Branch: RELENG_7) sys/dev/alc if_alc.c if_alcreg.h if_alcvar.h sys/modules/alc Makefile Log: SVN rev 194426 on 2009-06-18 06:03:58Z by yongari MFC 193880,193887: r193880: Add alc(4), a driver for Atheros AR8131/AR8132 PCIe ethernet controller. These controllers are also known as L1C(AR8131) and L2C(AR8132) respectively. These controllers resembles the first generation controller L1 but usage of different descriptor format and new register mappings over L1 register space requires a new driver. There are a couple of registers I still don't understand but the driver seems to have no critical issues for performance and stability. Currently alc(4) supports the following hardware features. o MSI o TCP Segmentation offload o Hardware VLAN tag insertion/stripping o Tx/Rx interrupt moderation o Hardware statistics counters(dev.alc.%d.stats) o Jumbo frame o WOL AR8131/AR8132 also supports Tx checksum offloading but I disabled it due to stability issues. I'm not sure this comes from broken sample boards or hardware bugs. If you know your controller works without problems you can still enable it. The controller has a silicon bug for Rx checksum offloading, so the feature was not implemented. I'd like to say big thanks to Atheros. Atheros kindly sent sample boards to me and answered several questions I had. HW donated by: Atheros Communications, Inc. r193887: fix directory name. Revision Changes Path 1.484.2.20 +1 -0 src/sys/amd64/conf/GENERIC 1.122.2.6 +1 -0 src/sys/boot/forth/loader.conf 1.1454.2.27 +2 -0 src/sys/conf/NOTES 1.1243.2.55 +1 -0 src/sys/conf/files 1.1.2.1 +3496 -0 src/sys/dev/alc/if_alc.c (new) 1.1.2.1 +947 -0 src/sys/dev/alc/if_alcreg.h (new) 1.1.2.1 +274 -0 src/sys/dev/alc/if_alcvar.h (new) 1.474.2.18 +1 -0 src/sys/i386/conf/GENERIC 1.540.2.32 +1 -0 src/sys/modules/Makefile 1.1.2.1 +8 -0 src/sys/modules/alc/Makefile (new)