summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Use M_NOWAIT in wtab_alloc(), too. Convert panic() toglebius2012-09-221-6/+9
| | | | | | | | | | | | | | a soft failure here. wtab_alloc() is used by red_alloc(), which can fail. Reported by: Kim Culhan <w8hdkim gmail.com>
* | Fix an obvious typo.pjd2012-09-221-1/+1
| |
* | Convert more M_WAITOK malloc() to M_NOWAIT.glebius2012-09-223-8/+8
| | | | | | | | Reported by: Kim Culhan <w8hdkim gmail.com>
* | Remove #ident macro.rpaulo2012-09-211-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -This line, and those below, will be ignored-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M altq/altq/altq_rmclass.c
* | Fix typo: s/pakcet/packetkevlo2012-09-201-1/+1
| |
* | Merge ACPICA 20120913.jkim2012-09-1930-278/+721
| |
* | Do more than r236298 did in the projects/pf branch: use M_NOWAIT inglebius2012-09-183-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | altq_add() and its descendants. Currently altq(4) in FreeBSD is configured via pf(4) ioctls, which can't configure altq(4) w/o holding locks. Fortunately, altq(4) code in spife of using M_WAITOK is ready to receive NULL from malloc(9), so change is mostly mechanical. While here, utilize M_ZERO instead of bzero(). A large redesign needed to achieve M_WAITOK usage when configuring altq(4). Or an alternative (not pf(4)) configuration interface should be implemented. Reported by: pluknet
* | o Create directory sys/netpfil, where all packet filters shouldglebius2012-09-1415-21900/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reside, and move there ipfw(4) and pf(4). o Move most modified parts of pf out of contrib. Actual movements: sys/contrib/pf/net/*.c -> sys/netpfil/pf/ sys/contrib/pf/net/*.h -> sys/net/ contrib/pf/pfctl/*.c -> sbin/pfctl contrib/pf/pfctl/*.h -> sbin/pfctl contrib/pf/pfctl/pfctl.8 -> sbin/pfctl contrib/pf/pfctl/*.4 -> share/man/man4 contrib/pf/pfctl/*.5 -> share/man/man5 sys/netinet/ipfw -> sys/netpfil/ipfw The arguable movement is pf/net/*.h -> sys/net. There are future plans to refactor pf includes, so I decided not to break things twice. Not modified bits of pf left in contrib: authpf, ftp-proxy, tftp-proxy, pflogd. The ipfw(4) movement is planned to be merged to stable/9, to make head and stable match. Discussed with: bz, luigi
* | Merge the projects/pf/head branch, that was worked on for last six months,glebius2012-09-0819-9477/+4498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into head. The most significant achievements in the new code: o Fine grained locking, thus much better performance. o Fixes to many problems in pf, that were specific to FreeBSD port. New code doesn't have that many ifdefs and much less OpenBSDisms, thus is more attractive to our developers. Those interested in details, can browse through SVN log of the projects/pf/head branch. And for reference, here is exact list of revisions merged: r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330, r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656, r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782, r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868, r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223, r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456, r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505, r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168, r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230, r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398, r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548, r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672, r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169, r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442, r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522, r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661, r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212. I'd like to thank people who participated in early testing: Tested by: Florian Smeets <flo freebsd.org> Tested by: Chekaluk Vitaly <artemrts ukr.net> Tested by: Ben Wilber <ben desync.com> Tested by: Ian FREISLICH <ianf cloudseed.co.za>
* | Merge ACPICA 20120816.jkim2012-08-1644-653/+2193
|\ \ | |/
* | Update to latest git version of dtc to get new dtsv2 support,imp2012-07-247-57/+581
| | | | | | | | | | | | | | | | | | | | | | including the include directive. Fix minor build issue corrected by converting yypush_buffer_state and yypop_buffer_state to yy_set_buffer_state and a hard-coded 100-deep stack. It was easier to fix it here than to import that support into our flex. The new tools and test hardness remain unsupported at the moment.
* | Use M_NOWAIT while holding the pf giant lock.glebius2012-07-151-2/+1
| |
* | Merge ACPICA 20120711.jkim2012-07-1137-450/+965
|\ \ | |/
* | MFV: r237650jkim2012-06-271-11/+15
| | | | | | | | | | | | | | Do not malloc(9) while holding a spin lock, to avoid panic. Reported by: kib (and many others) Tested by: kib (and many others)
* | Add new firmware for the g2a (6205) and g2b (623x) devices.bschmidt2012-06-272-0/+19794
| | | | | | | | MFC after: 3 days
* | Merge ACPICA 20120620.jkim2012-06-2231-187/+990
|\ \ | |/
* | - Updated TOE support in the kernel.np2012-06-195-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs. These are available as t3_tom and t4_tom modules that augment cxgb(4) and cxgbe(4) respectively. The cxgb/cxgbe drivers continue to work as usual with or without these extra features. - iWARP driver for Terminator 3 ASIC (kernel verbs). T4 iWARP in the works and will follow soon. Build-tested with make universe. 30s overview ============ What interfaces support TCP offload? Look for TOE4 and/or TOE6 in the capabilities of an interface: # ifconfig -m | grep TOE Enable/disable TCP offload on an interface (just like any other ifnet capability): # ifconfig cxgbe0 toe # ifconfig cxgbe0 -toe Which connections are offloaded? Look for toe4 and/or toe6 in the output of netstat and sockstat: # netstat -np tcp | grep toe # sockstat -46c | grep toe Reviewed by: bz, gnn Sponsored by: Chelsio communications. MFC after: ~3 months (after 9.1, and after ensuring MFC is feasible)
* | Merge revision 1.715 from OpenBSD:glebius2012-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | date: 2010/12/24 20:12:56; author: henning; state: Exp; lines: +3 -3 in pf_src_connlimit, the indices to sk->addr were swapped. tracked down and diff sent by Robert B Mills <rbmills at sdf.lonestar.org> thanks, very good work! ok claudio Impact is that the "flush" keyword didn't work. Obtained from: OpenBSD MFC after: 1 week
* | Correct table counter functionality to not panic.eri2012-05-313-2/+5
| | | | | | | | | | | | | | | | This was caused by not proper initialization of necessary parameters. PR: 168200 Reviewed by: bz@, glebius@ MFC after: 1 week
* | Merge ACPICA 20120518.jkim2012-05-2429-97/+528
| |
* | Revert r234834 per luigi@ request.melifaro2012-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | Cleaner solution (e.g. adding another header) should be done here. Original log: Move several enums and structures required for L2 filtering from ip_fw_private.h to ip_fw.h. Remove ipfw/ip_fw_private.h header from non-ipfw code. Requested by: luigi Approved by: kib(mentor)
OpenPOWER on IntegriCloud