Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 08:01:41 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/ath if_ath.c
Message-ID:  <201107310801.p6V81trY010095@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
adrian      2011-07-31 08:01:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ath          if_ath.c 
  Log:
  SVN rev 224541 on 2011-07-31 08:01:41Z by adrian
  
  Implement the 4KB split transaction workaround for Merlin (AR9280).
  
  The AR9280 apparently has an issue with descriptors which straddle a page
  boundary (4k). I'm not yet sure whether I should use PAGE_SIZE in the
  calculations or whether I should use 4096; the reference code uses 4096.
  
  This patch fiddles with descriptor allocation so a descriptor entry
  doesn't straddle a 4kb address boundary. The descriptor memory allocation
  is made larger to contain extra descriptors and then the descriptor
  address is advanced to the next 4kb boundary where needed.
  
  I've tested this both on Merlin (AR9280) and non-Merlin (in this case,
  AR9160.)
  
  Obtained from:  Linux, Atheros
  Approved by:    re (kib)
  
  Revision  Changes    Path
  1.331     +40 -5     src/sys/dev/ath/if_ath.c



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