Commits

Author Commit Message Labels Comments Date
adrian
Since these include wlan/ath/ah headers and these can change definitions based on the state of the kernel compile environment, ensure the opt_*.h files are available. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227413 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Use the system-provided opt_ah.h if one is provided. This implies that users who are building the driver do so with KERNBUILDDIR set to the compile/CONFIG directory so the various opt_* sources can be pulled in. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227412 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Bump this up to where it used to be. I need to investigate this a little closer, but it seems that in noisy environments the NF load takes longer than 5 * DELAY(10) and this is messing up future NF calibrations. (The background: NF calibrations begin at the value programmed in after the load has completed, so if this is never loaded in, the NF calibrations only ever start at the currently calibrated NF value, rather than starting at …
adrian
Introduce a work-around for issues with the AR5416 based MAC on SMP devices. The AR5416 MAC (which shows up in the AR5008, AR9001, AR9002 devices) has issues with PCI transactions on SMP machines. This work-around enforces that register access is serialised through a (global for now) spinlock. This should stop the hangs people have seen with the AR5416 PCI devices on SMP hosts. Obtained by: Linux, Atheros git-svn-id: svn+ssh://svn.freebsd.org/base/head@227410 ccf9f872-…
delphij
Do a dummy read to flush the interrupt ACK that we just performed, ensuring that everything is really, truly consistent. This fixes certain cases where one will see various: mfi0: COMMAND 0xffffffXXXXXXXXXX TIMEOUT AFTER XX SECONDS MFC after: 3 days Submitted by: scottl Ok'ed by: jhb git-svn-id: svn+ssh://svn.freebsd.org/base/head@227409 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Commit a missing fix - the AR_SREV_KIWI_10_OR_LATER() check. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227408 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ed
Remove trailing whitespace. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Even though the HAL doesn't currently support Kiwi 1.0/1.1, be "more correct" about the Kiwi setup. Obtained from: Atheros git-svn-id: svn+ssh://svn.freebsd.org/base/head@227405 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
hselasky
Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0. Some header file parts of this patch were taken from a patch submitted by Maya Erez <merez@codeaurora.org> to the LibUSB developers list. MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227404 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
dim
Move building of clang's tblgen tools (and required libraries) from the bootstrap-tools stage to the cross-tools stage. These tools are only needed for generating llvm/clang include files, and are not necessary for bootstrapping the build itself. This shaves off some build time, because the required libraries are now just built twice (during the cross-tools and world stages), instead of three times. Also, if you build world using WITHOUT_CLANG= in src.conf(5), no llvm or clang code will be compiled at all anymore. MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
hselasky
Fix size of USB 3.0 descriptor field. MFC after: 3 days git-svn-id: svn+ssh://svn.freebsd.org/base/head@227401 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
kib
Attempt to improve formatting and content of several comments for amd64 and i386 MD code. Based on suggestions by: bde MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227399 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
If software retransmit occurs with an ath_buf marked ATH_BUF_BUSY, it's cloned and that clone is retransmitted. This means that the ath_buf pointer squirreled away on the baw window array is suddenly wrong and was causing all kinds of console output. This updates the pointer in that particular BAW slot to the new ath_buf after ensuring that: * the new and old buffers have the same seqno; * the current slot pointer matches the old buffer pointer. This quietens the debugging output (again), restoring said debugging to only signify when a broken condition has occured. Sponsored by: Hobnob, Inc. git-svn-id: svn+ssh://svn.freebsd.org/base/head…
hselasky
Fix size of USB 3.0 descriptor field. MFC after: 3 days git-svn-id: svn+ssh://svn.freebsd.org/base/head@227396 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Flip on processing interrupt profile events for mips24k. This is a bit hackish and should be made more generic (ie, support more than two hard-coded performance counter+config register pairs) so it can be used for mips74k and other chips. All this does is process the initial interrupt event. It doesn't (yet) handle callgraph events, so even if you route the exception/interrupt to this routine and flip the bit on, it will hang and crash pmc unless you d…
kib
Stopped process may legitimately have some threads sleeping and not suspended, if the sleep is uninterruptible. Reported and tested by: pho MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227394 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
kib
Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Reported and tested by: pho MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
kib
Assert that _PRELE() is done for the held process. Tested by: pho MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227392 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fabient
Import gcc fix for -fstack-protector that produces segfaulting binaries on arm/armel. Related gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965 PR: 161128 MFC after: 1 week git-svn-id: svn+ssh://svn.freebsd.org/base/head@227391 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
jpaetzel
Add myself. Approved by: kib (mentor) git-svn-id: svn+ssh://svn.freebsd.org/base/head@227390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
jhb
Revert some debugging printfs that crept into 223695. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227389 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
* Force the MAC to wakeup before we try resetting it, to ensure it actually _gets_ reset properly. * Add some more comments describing why things are done. Obtained from: Atheros git-svn-id: svn+ssh://svn.freebsd.org/base/head@227388 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Tidy up the AR9287 HAL a tiny bit - fix up AR9280 references. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227387 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
nwhitehorn
Fix a bug where the pmap_cpu_bootstrap() ap argument could be clobbered. Luckily, it mostly wasn't important, so this didn't cause major problems. Also improve register reuse when setting up trap frames very slightly. Submitted by: Justin Hibbits <chmeeedalf at gmail dot com> MFC after: 5 days git-svn-id: svn+ssh://svn.freebsd.org/base/head@227386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ed
Restore the comment that I removed by accident. The comment still applies to this block of code. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ed
Simplify the code emitted by makeobjops.awk slightly. Just place the default kobj_method inside the kobjop_desc structure. There's no need to give these kobj_methods their own symbol. This shaves off 10 KB of a GENERIC kernel binary. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
hselasky
Some minor corrections to a modem driver. PR: usb/162307 MFC after: 3 days git-svn-id: svn+ssh://svn.freebsd.org/base/head@227383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
gleb
Use implementation independent inoNN_t scalars for on-disk UFS structures Approved by: mdf (mentor) git-svn-id: svn+ssh://svn.freebsd.org/base/head@227382 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Migrate the AR5416 ANI code to use the previously introduced method to fetch the current channel busy statistics, rather than duplicating it here. This forms the (very crude) basis for doing basic channel surveying. Sponsored by: Hobnob, Inc. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227381 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
adrian
Disable OFDM weak signal detection by default. Leave this to be enabled if required by STA operation. This quietens a lot of OFDM errors seen in hostap mode, where there are no beacon RSSI levels to tune the dynamic range of the baseband. This may reduce reception range at the fringes, but does increase stability. Sponsored by: Hobnob, Inc. git-svn-id: svn+ssh://svn.freebsd.org/base/head@227380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
  1. Prev
  2. Next