summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Add support for Radisys as a vendor of Octeon hardware. Add some preliminaryjmallett2012-10-263-0/+18
| | | | | | | | | | support for what their boot loader refers to as the "RSYS4GBE", of which there are two instances ("Data Processing Blocks") on the Radisys ATCA-7220.
* | Merge ACPICA 20121018.jkim2012-10-23191-2257/+3665
| |
* | Fix defines in r241245. We actually don't define FreeBSD.glebius2012-10-141-2/+2
| | | | | | | | Reported & tested by: Oleg Ginzburg
* | Revert previous commit...kevlo2012-10-105-5/+5
| | | | | | | | Pointyhat to: kevlo (myself)
* | Prefer NULL over 0 for pointerskevlo2012-10-095-5/+5
| |
* | A step in resolving mess with byte ordering for AF_INET. After this change:glebius2012-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All packets in NETISR_IP queue are in net byte order. - ip_input() is entered in net byte order and converts packet to host byte order right _after_ processing pfil(9) hooks. - ip_output() is entered in host byte order and converts packet to net byte order right _before_ processing pfil(9) hooks. - ip_fragment() accepts and emits packet in net byte order. - ip_forward(), ip_mloopback() use host byte order (untouched actually). - ip_fastforward() no longer modifies packet at all (except ip_ttl). - Swapping of byte order there and back removed from the following modules: pf(4), ipfw(4), enc(4), if_bridge(4). - Swapping of byte order added to ipfilter(4), based on __FreeBSD_version - __FreeBSD_version bumped. - pfil(9) manual page updated. Reviewed by: ray, luigi, eri, melifaro Tested by: glebius (LE), ray (BE)
* | Fix pseudo checksum calculation.fjoe2012-09-271-1/+3
| | | | | | | | | | | | | | | | | | This fixes ipfilter w/ network controllers that implement only partial rx csum offloading. PR: 106438 Obtained from: upstream MFC after: 1 week
* | Fix panic introduced by me in r240835, when zero weightglebius2012-09-251-4/+5
| | | | | | | | | | | | was passed to wtab_alloc(). Reported by: Kim Culhan <w8hdkim gmail.com>
OpenPOWER on IntegriCloud