From owner-cvs-src-old@FreeBSD.ORG Wed Jun 10 02:09:10 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 7A14D1065679 for ; Wed, 10 Jun 2009 02:09:10 +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 498948FC2A for ; Wed, 10 Jun 2009 02:09:10 +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 n5A29AZ8047649 for ; Wed, 10 Jun 2009 02:09:10 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5A29AHt047648 for cvs-src-old@freebsd.org; Wed, 10 Jun 2009 02:09:10 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <200906100209.n5A29AHt047648@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Wed, 10 Jun 2009 02:07:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Wed, 10 Jun 2009 02:09:10 -0000 yongari 2009-06-10 02:07:58 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC sys/boot/forth loader.conf sys/conf NOTES files sys/i386/conf GENERIC sys/modules Makefile Added files: sys/dev/alc if_alc.c if_alcreg.h if_alcvar.h sys/modules/alc Makefile Log: SVN rev 193880 on 2009-06-10 02:07:58Z by yongari 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. Revision Changes Path 1.528 +1 -0 src/sys/amd64/conf/GENERIC 1.141 +1 -0 src/sys/boot/forth/loader.conf 1.1545 +2 -0 src/sys/conf/NOTES 1.1419 +1 -0 src/sys/conf/files 1.1 +3496 -0 src/sys/dev/alc/if_alc.c (new) 1.1 +947 -0 src/sys/dev/alc/if_alcreg.h (new) 1.1 +274 -0 src/sys/dev/alc/if_alcvar.h (new) 1.516 +1 -0 src/sys/i386/conf/GENERIC 1.618 +1 -0 src/sys/modules/Makefile 1.1 +8 -0 src/sys/modules/alc/Makefile (new)