summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* The AR9300 HAL uses this config to program AR_PHY_SWITCH_COM_2 on AR9485adrian2013-06-141-0/+3
| | | | | | | | | | | | | | | | NICs which have bluetooth coexistence enabled. The WB225 NIC has the common antenna switch configuration set to 0x0 which disables all external switch bit setting. This obviously won't work when doing coexistence. This value is a magic value from the windows .inf files. It _looks_ right but I haven't yet verified it - unfortunately my AR9285+AR3012 BT combo has an earlier BT device which doesn't actually _have_ firmware on it. So I have to fix ath3kfw to handle loading in firmware into the newer NICs before I can finish testing this. This may not hold true for CUS198, which is another custom AR9485 board.
* Flip on AH_PRIVATE_DIAG by default; this will include the AR9300 EEPROMadrian2013-06-141-0/+1
| | | | dump code that is worth having around.
* Add bluetooth setup method functions to the HAL.adrian2013-06-141-0/+8
|
* If chan is NULL, don't derefrence it.adrian2013-06-141-0/+5
| | | | | | | | | The bluetooth setup code actually does a channel lookup during setup, even though we haven't yet programmed in a channel. Sigh. Tested: * WB225 (AR9485) + bluetooth
* Set the FreeBSD capability bit to indicate that LNA diversity is enabled.adrian2013-06-131-0/+7
| | | | This is true for the AR9485 and AR933x SoC.
* Return HAL_ANT_VARIABLE for now, until it's unstubbed.adrian2013-06-131-1/+1
| | | | | This is needed by the slow antenna diversity logic for the AR9485/AR9462 as it's only engaged if the TX diveristy is set to VARIABLE.
* Tie in the LNA diversity configuration functions into the HAL.adrian2013-06-121-0/+6
|
* Fix a false -> AH_FALSE.adrian2013-05-291-1/+1
| | | | | Now, why this hasn't tripped _any_ tinderbox builds yet, I dunno. It's been like this for a while.
* Merge ACPICA 20130517.jkim2013-05-20160-2194/+3607
|\
* | Turns out that there really isn't an RTC chip on this board, at all.imp2013-05-121-3/+0
| |
* | Make the read/write routines default to the newer DS1337 part, but keepimp2013-05-101-20/+2
| | | | | | | | the supported bits board specific.
* | As requested, move this back to opt-in and list my boards.imp2013-05-101-3/+30
| |
* | Remove the commented out code I just committed. If we need it, I'llimp2013-05-101-225/+0
| | | | | | | | bring it back uncommented our, or rewrite it.
* | Add support from GE Intelligent Platform Cavium Octeon boards. Addimp2013-05-105-12/+457
| | | | | | | | | | | | | | | | | | | | options OCTEON_VENDOR_GEFES to enable support for these boards, to match changes that GE publishes to the Octeon Simple Executive. Since board types overlap with other boards, it is unlikely that we will properly boot on other Octeon boards with OCTEON_VENDOR_GEFES enabled. Tested extensively on the WANIC 6354, but I retained support for all the other models. Some features need changes in the base kernel, and those are in progress.
* | Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks fromimp2013-05-101-18/+3
| | | | | | | | | | | | the Linux tree that they always include this chip in their FDT, so make support for the ds1337 opt-out rather than opt-in. Now my boards boot with the correct time.
* | MFV: r250336jkim2013-05-081-0/+1
| | | | | | | | Fix for _INI regression introduced in version 20130328.
* | Expose cvmx_mgmt_port_num_ports() as a wrapper to the staticimp2013-05-022-0/+18
| | | | | | | | | | __cvmx_mgmt_port_num_ports() mostly to avoid exporting a function starting with __.
* | Fix this code to compile without warnings - AH_DEBUG was pulling inadrian2013-05-021-2/+6
| | | | | | | | | | ichan, but OS_MARK was not using it. It only uses it when AH_DEBUG_ALQ is also defined.
* | Add device identification and probe/attach support for the QCA9565.adrian2013-05-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The QCA9565 is a 1x1 2.4GHz 11n chip with integrated on-chip bluetooth. The AR9300 HAL already has support for this chip; it just wasn't included in the probe/attach path. Tested: * This commit brought to you over a QCA9565 wifi connection from FreeBSD. * .. ie, basic STA, pings, no iperf or antenna diversity checking just yet.
* | Fix incorrect sizeof() in bzero()eadler2013-05-011-1/+1
| | | | | | | | | | Submitted by: swildner@DragonFlyBSD.org Reviewed by: alfred, jmallett
* | Disable TXCONT, it's not here in FreeBSD.adrian2013-05-011-0/+2
| |
* | There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead.adrian2013-05-011-1/+1
| |
* | Sync from git - ah_config is in 'ath_hal', not 'ath_hal_private' onadrian2013-04-291-1/+1
| | | | | | | | FreeBSD.
* | Bring over my FreeBSD modifications for the AR9300 HAL to make itadrian2013-04-2832-1172/+4642
| | | | | | | | | | | | | | | | | | | | | | work in FreeBSD. This is still heavily a work in progress but I'd rather it start shipping in -HEAD sooner rather than later. This doesn't (yet) link it into the build system either for a static kernel or as a module; that will come later (after many, many make universe tests.)
* | Copy the vendor branch ar9300 code from qcamain_open_hal into thisadrian2013-04-2868-0/+233321
| | | | | | | | | | | | directory. Only copy the ar9300 HAL, we don't want to grab everything.
* | Merge ACPICA 20130418.jkim2013-04-1935-664/+1207
|\ \ | |/
* | Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.hglebius2013-04-081-3/+3
| | | | | | | | isn't included with forced _KERNEL define.
* | Merge ACPICA 20130328.jkim2013-04-0438-1547/+2979
|\ \ | |/
* | Simplify TAILQ usage and avoid additional memory allocations.glebius2013-03-052-87/+30
| | | | | | | | | | Tested by: Eugene M. Zheganin <emz norma.perm.ru> Sponsored by: Nginx, Inc
* | Merge ACPICA 20130214.jkim2013-02-1555-741/+2805
|\ \ | |/
* | Merge two bug fixes from the vendor branch.jkim2013-01-284-22/+40
| | | | | | | | Reported by: pjd
* | Fix another build breakage for ia64.jkim2013-01-211-1/+1
| |
* | Fix packet reception and other issues arising from incorrect ASX clockjmallett2013-01-211-0/+15
| | | | | | | | configuration on the physical ports of the Ubiquiti EdgeRouter Lite.
* | Work around build breakage with GCC 4.2.jkim2013-01-191-1/+1
| |
* | Merge ACPICA 20130117.jkim2013-01-17281-7248/+8954
|\ \ | |/
* | Use the right USB clock type on the EdgeRouter Lite. This fixes USB.jmallett2013-01-021-0/+3
| |
* | Add basic support for the Ubiquiti EdgeRouter Lite.jmallett2013-01-022-0/+12
| | | | | | | | | | Note that USB does not currently work, and the flash is connected via USB, so local storage is not working.
* | Allow this file to build on FreeBSD.jmallett2012-11-271-0/+2
| |
* | o) Have the FreeBSD kernel option "INVARIANTS" trickle down into the Simplejmallett2012-11-243-5/+38
| | | | | | | | | | | | Executive code where similar invariant knobs exist. o) Make the Simple Executive's warning function print "WARNING: " on the same line as the warning it is displaying, rather than on a separate line.
* | Use bootverbose to control debug printfs from the Cavium Simple Executivejmallett2012-11-242-2/+3
| | | | | | | | | | code. Also remove an unnecessary CVMX_ENABLE_DEBUG_PRINTS conditional around what is already a cvmx_dprintf.
* | o) Add support for specifying a model of Octeon to target at compile-time,jmallett2012-11-242-3/+12
| | | | | | | | | | | | | | reducing the number of runtime checks done by the SDK code. o) Group board/CPU information at early startup by subject matter, so that e.g. CPU information is adjacent to CPU information and board information is adjacent to board information.
* | Merge ACPICA 20121114.jkim2012-11-2044-502/+860
|\ \ | |/
* | Return port numbers for ATCA-7220 SPI interfaces in a different place forjmallett2012-11-192-8/+10
| | | | | | | | | | consistency reasons, and to ensure that CRC addition is disabled on output. With this, transmit seems to be working properly on the ATCA-7220.
* | Fix packet receive on the ATCA-7220 by disabling FCS-related checks, since thejmallett2012-11-192-0/+14
| | | | | | | | FCS is stripped by the underlying hardware before it reaches the Octeon.
* | Fix build for FreeBSD kernel.jmallett2012-11-131-4/+4
| |
* | In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newerdim2012-11-051-4/+4
| | | | | | | | | | | | | | | | versions of clang 3.2, about comparing enum uni_cause values against integer constants which fall outside the enum range. No functional change. MFC after: 3 days
* | Handle the management port on the EBT5600 and disable loopback. The XAUIjmallett2012-11-011-0/+12
| | | | | | | | | | | | | | port connected to the Broadcom switch does not seem operable, but it's unclear if that's simply due to a lack of configuration information for the switch. The switch does not seem to present any identifying information via MDIO, and is a BCM56512.
* | Speed feature tests and initialize helper configuration that some CPUs require.jmallett2012-10-302-2/+2
| |
* | Use Simple Executive LED display routines, which correctly use the LED basejmallett2012-10-291-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | address passed from the bootloader, rather than using a hard-coded value. Make FreeBSD announce itself on the LED display similar to other kernels. Remove uses of the previous LED routines, which were under-used and only used in drivers for what seem like debugging purposes, despite those drivers being widely-tested. Remove several inlines for accessing memory that duplicate other functions which are now used instead, as they are now entirely unused.
* | No MII on the RSYS4GBE (AMC-7211/ATCA-7220).jmallett2012-10-261-0/+5
| |
OpenPOWER on IntegriCloud