Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 00:52:26 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/conf GENERIC src/sys/boot/forth loader.conf src/sys/conf NOTES files src/sys/dev/ale if_ale.c if_alereg.h if_alevar.h src/sys/i386/conf GENERIC src/sys/modules Makefile src/sys/modules/ale Makefile
Message-ID:  <200811240052.mAO0qubb068658@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2008-11-24 00:52:26 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/ale          if_ale.c if_alereg.h if_alevar.h 
    sys/modules/ale      Makefile 
  Log:
  SVN rev 185238 on 2008-11-24 00:52:26Z by yongari
  
  MFC r184870:
    Add ale(4), a driver for Atheros AR8121/AR8113/AR8114 PCIe ethernet
    controller. The controller is also known as L1E(AR8121) and
    L2E(AR8113/AR8114). Unlike its predecessor Attansic L1,
    AR8121/AR8113/AR8114 uses completely different Rx logic such that
    it requires separate driver. Datasheet for AR81xx is not available
    to open source driver writers but it shares large part of Tx and
    PHY logic of L1. I still don't understand some part of register
    meaning and some MAC statistics counters but the driver seems to
    have no critical issues for performance and stability.
  
    The AR81xx requires copy operation to pass received frames to upper
    stack such that ale(4) consumes a lot of CPU cycles than that of
    other controller. A couple of silicon bugs also adds more CPU
    cycles to address the known hardware bug. However, if you have fast
    CPU you can still saturate the link.
    Currently ale(4) supports the following hardware features.
      - MSI.
      - TCP Segmentation offload.
      - Hardware VLAN tag insertion/stripping with checksum offload.
      - Tx TCP/UDP checksum offload and Rx IP/TCP/UDP checksum offload.
      - Tx/Rx interrupt moderation.
      - Hardware statistics counters.
      - Jumbo frame.
      - WOL.
  
    AR81xx PCIe ethernet controllers are mainly found on ASUS EeePC or
    P5Q series of ASUS motherboards. Special thanks to Jeremy Chadwick
    who sent the hardware to me. Without his donation writing a driver
    for AR81xx would never have been possible. Big thanks to all people
    who reported feedback or tested patches.
  
    HW donated by:        koitsu
    Tested by:    bsam, Joao Barros <joao.barros <> gmail DOT com >
                  Jan Henrik Sylvester <me <> janh DOT de >
                  Ivan Brawley < ivan <> brawley DOT id DOT au >,
                  CURRENT ML
    Approved by:  re (kib)
  
    Note, GENERIC kernel does NOT include ale(4) but users can still
    kldload it. It was requested by re.
  
  Revision     Changes    Path
  1.484.2.15   +1 -0      src/sys/amd64/conf/GENERIC
  1.122.2.4    +1 -0      src/sys/boot/forth/loader.conf
  1.1454.2.21  +2 -0      src/sys/conf/NOTES
  1.1243.2.40  +1 -0      src/sys/conf/files
  1.1.2.1      +3075 -0   src/sys/dev/ale/if_ale.c (new)
  1.1.2.1      +763 -0    src/sys/dev/ale/if_alereg.h (new)
  1.1.2.1      +252 -0    src/sys/dev/ale/if_alevar.h (new)
  1.474.2.15   +1 -0      src/sys/i386/conf/GENERIC
  1.540.2.25   +1 -0      src/sys/modules/Makefile
  1.1.2.1      +8 -0      src/sys/modules/ale/Makefile (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811240052.mAO0qubb068658>