summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Garbage collect old function prototypes.nwhitehorn2015-03-041-6/+0
|
* Move Book-E/AIM dependent bits for setting user PMAP during thread switchnwhitehorn2015-03-045-29/+11
| | | | | out of cpu_switch() and into pmap_activate() where they belong. This also removes all the #ifdef from cpu_switch().
* Remove imx6s-wandboard.dts, there is no such file. Also imx6q-wandboardian2015-03-041-2/+1
| | | | | to follow imx6dl-wandboard (so that the entries are sorted by board name first, then by soc type).
* Optimize SIOCGIFMEDIA handling removing malloc(9) and doubleglebius2015-03-041-58/+14
| | | | | | | traversal of the list. Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Add example configuration for FibreChannel ports.mav2015-03-041-6/+8
| | | | MFC after: 1 week
* If target name starts with "naa.", set it as WWNN for CTL port.mav2015-03-041-1/+13
| | | | | MFC after: 1 week Sponsored by: iXsystems, Inc.
* Fix handling of queued text and logout requests.mav2015-03-041-0/+4
| | | | | | | While it may have little sense, text and logout requests can be queued. If they are, they consume cmdsn, so we should increment our conn_cmdsn. MFC after: 1 week
* Fix deadlock in IPv6 PCB code.ae2015-03-044-36/+25
| | | | | | | | | | | | | | | | | | | | | | | | When several threads are trying to send datagram to the same destination, but fragmentation is disabled and datagram size exceeds link MTU, ip6_output() calls pfctlinput2(PRC_MSGSIZE). It does notify all sockets wanted to know MTU to this destination. And since all threads hold PCB lock while sending, taking the lock for each PCB in the in6_pcbnotify() leads to deadlock. RFC 3542 p.11.3 suggests notify all application wanted to receive IPV6_PATHMTU ancillary data for each ICMPv6 packet too big message. But it doesn't require this, when we don't receive ICMPv6 message. Change ip6_notify_pmtu() function to be able use it directly from ip6_output() to notify only one socket, and to notify all sockets when ICMPv6 packet too big message received. PR: 197059 Differential Revision: https://reviews.freebsd.org/D1949 Reviewed by: no objection from #network Obtained from: Yandex LLC MFC after: 1 week Sponsored by: Yandex LLC
* Define PTR_ALIGN() macro which will be needed coming Mellanox driverhselasky2015-03-041-0/+2
| | | | | | | releases. Sponsored by: Mellanox Technologies MFC after: 3 days
* Updates for the Mellanox ethernet driverhselasky2015-03-0410-30/+74
| | | | | | | | | | | | | | | | | | > List of fixes: * use correct format for GID printouts * double array indexing * spelling in printouts * void pointer arithmetic * allow more receive rings * correct maximum number of transmit rings * use "const" instead of "static" for constants * check for invalid VLAN tags * check for lack of IRQ resources > Added more hardware specific defines > Added more verbose printouts of firmware status codes Sponsored by: Mellanox Technologies MFC after: 3 days
* Allow USB modules to be built in parallel.hselasky2015-03-041-0/+5
|
* Add myself (whu) to committers-src.dot.whu2015-03-041-0/+4
| | | | Approved by: royger (mentor)
* Add ethernet MAC DDR flush hookups for QCA955x.adrian2015-03-041-4/+5
| | | | | | Tested: * AP135
* Add DDR flush registers for QCA955x.adrian2015-03-041-0/+7
|
* Fix both arge0 and arge1 to work correctly on the AP135.adrian2015-03-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Force the arge0 interface to not use a PHY for speed negotiation for now. It'd be nice to do it, but right now the RGMII interface to the switch needs to stay at 1000/full in order to match what the switch side of the port is programmed as. So until that's all sorted out, disconnect arge0 from the PHY and leave it at fixed at 1000/full. I noticed this when I tried using a busted ethernet cable that forced the PHY to negotiate 100/full. The switch was fine and it negotiated to 100/full, but then arge0 saw the link update and set the speed to 100/full when the switch side of that hook up was set to 1000/full. Tsk. * When using argemdio, the mdio device resets and initialises the MAC, /not/ the arge_attach (or, as I discovered, arge_init.) So arge1 wasn't being fully initialised and thus no traffic would ever flow. So until I tidy up that mess, just create an argemdio bus for arge1. It's totally fine; it won't do anything or find anything attached to it. Tested: * AP135 reference board - both arge0 and arge1 now work.
* Fix typo in dropped-packets attribute (missing s).marcel2015-03-041-1/+1
| | | | Pointed-out by: allanjude (excellent catch!)
* Update ThunderX SATA quirkemaste2015-03-041-1/+1
| | | | | | | | Add quirk to ThunderX AHCI forcing only 1 MSI-X interrupt. Shorten Thunder quirk description to avoid printing 'SATA' twice. Obtained from: Semihalf Sponsored by: The FreeBSD Foundation
* Add a new safetly belt to freebsd-update to prevent a user doing a minor ↵allanjude2015-03-032-8/+46
| | | | | | | | | | | | | | | | update (-pX) while having an unfinished major upgrade (9.x to 9.y) Safetly belt can be disabled with the -F flag Additionally, add the --not-running-from-cron flag they bypasses the TTY requirement, and allows freebsd-update to be invoked by orchestration frameworks, scripts, or otherwise. PR: 196760 Differential Revision: https://reviews.freebsd.org/D1550 Reviewed by: cperciva, delphij Approved by: bcr (mentor), rodrigc (src) MFC after: 1 month Relnotes: yes Sponsored by: ScaleEngine Inc.
* Add density code for DAT-72, and notes on DAT-160.ken2015-03-032-2/+21
| | | | | | | | | | | | | | | | | | | | | As it turns out, the density code for DAT-160 (0x48) is the same as for SDLT220. Since the SDLT values are already in the table, we will leave them in place. Thanks to Harald Schmalzbauer for confirming the DAT-72 density code. lib/libmt/mtlib.c: Add DAT-72 density code, and commented out DAT-160 density code. Explain why DAT-160 is commented out. Add notes explaining where the bpi values for these formats came from. usr.bin/mt/mt.1: Add DAT-72 density code, and add a note explaining that the SDLTTapeI(110) density code (0x48) is the same as DAT-160. Sponsored by: Spectra Logic MFC after: 3 weeks
* sh: Fix more compiler warnings related to variable declarations.jilles2015-03-035-6/+7
|
* Update .Dd, sync usage() for -F. Missed in previous change.pluknet2015-03-032-2/+2
|
* Add and document an option to cause syslogd to run in therpaulo2015-03-032-4/+19
| | | | | | | | | | | foreground. This allows a separate process to monitor when and how syslogd exits. That process can then restart syslogd if needed. Differential Revision: https://reviews.freebsd.org/D1985 Submitted by: Ravi Pokala Reviewed by: allanjude (man page)
* Sort and remove unnecessary headers.loos2015-03-031-14/+4
|
* Create nd6_ns_output_fib() function with extra argument fibnum. Use itae2015-03-031-8/+21
| | | | | | | | | | to initialize mbuf's fibnum. Uninitialized fibnum value can lead to panic in the routing code. Currently we use only RT_DEFAULT_FIB value for initialization. Differential Revision: https://reviews.freebsd.org/D1998 Reviewed by: hrs (previous version) Sponsored by: Yandex LLC
* Add quirk for USB 3.0 controllers which don't support 64-bit DMA.hselasky2015-03-031-1/+12
| | | | | MFC after: 3 days Submitted by: Gary Jennejohn <gljennjohn@gmail.com>
* Fix the pl011 driver to work when the uart will write in zero cycles. Thisandrew2015-03-031-5/+13
| | | | | | | | | is the case, depending on the options, in some of the ARM hardware simulators. In these cases we don't get an interrupt so will need to schedule the task to write more data to the uart. MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Lower warnings to please gcc 4.2bapt2015-03-031-1/+1
|
* Nonce has to be non-NULL for DAD even if net.inet6.ip6.dad_enhanced=0.hrs2015-03-031-5/+3
|
* Check the return value of config_intrhook_establish().kevlo2015-03-031-1/+3
|
* Make periphdriver_register() take XPT lock when modifying the periph_driverstrasz2015-03-022-2/+14
| | | | | | | | | | array. This fixes a panic that sometimes occured when kldloading ctl.ko. Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Move duplicate code to a new public function.loos2015-03-023-29/+29
| | | | | | | | | This new function can be used by other drivers to reserve the use of GPIO pins. Anyway, the use of ofw_gpiobus_parse_gpios() is preferred when possible. Requested by: Michal Meloun
* Remove gperf(7) if gperf is not installedbapt2015-03-021-0/+1
|
* Add a "module" to build the dtb files for all supported imx6 systems.ian2015-03-022-0/+13
|
* Update libucl to git version 8d3b186bapt2015-03-0231-843/+1569
|\
| * Really update to 8d3b186bapt2015-03-021-3/+6
| |
| * Update libucl to git version 8d3b186bapt2015-03-0229-838/+1560
| |
* | Add quirk to disable 64-bit XHCI DMA after r276717.hselasky2015-03-024-7/+12
| | | | | | | | | | Requested by: Gary Jennejohn <gljennjohn@gmail.com> MFC after: 3 days
* | Revert r279338. The casts are apparently bogus, despite the fact thatian2015-03-021-17/+7
| | | | | | | | they've been working in i386 (where this change came from).
* | Update Exynos5 XHCI attach code after r276717.hselasky2015-03-021-72/+52
| | | | | | | | MFC after: 3 days
* | Fix warnings/errors when building vmm.ko with gcc:neel2015-03-022-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix warning about comparison of 'uint8_t v_tpr >= 0' always being true. - fix error triggered by an empty clobber list in the inline assembly for "clgi" and "stgi" - fix error when compiling "vmload %rax", "vmrun %rax" and "vmsave %rax". The gcc assembler does not like the explicit operand "%rax" while the clang assembler requires specifying the operand "%rax". Fix this by encoding the instructions using the ".byte" directive. Reported by: julian MFC after: 1 week
* | give others fair warning that _SPARE2 isn't just cxgb, but used by largejmg2015-03-021-3/+3
| | | | | | | | | | | | | | | | | | number of other subsystems, so you probably don't want _SPARE2.. ktr needs an overhaul to really only compile in the ones you want, we've long passed the 31 bits it provides.. Sponsored by: transip.nl
* | Fix group membership of cloned interfaces when one is moved byhrs2015-03-023-8/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if_vmove(). In if_vmove(), if_detach_internal() and if_attach_internal() were called in series to detach and reattach the interface. When detaching, if_delgroup() was called and the interface leaves all of the group membership. And then upon attachment, if_addgroup(ifp, IFG_ALL) was called and it joined only "all" group again. This had a problem. Normally, a cloned interface automatically joins a group whose name is ifc_name of the cloner in addition to "all" upon creation. However, if_vmove() removed the membership and did not restore upon attachment. Differential Revision: https://reviews.freebsd.org/D1859
* | Fix white spaces.jkim2015-03-021-18/+18
| |
* | Make fuse(4) respect FOPEN_DIRECT_IO. This is required for correcttrasz2015-03-023-1/+29
| | | | | | | | | | | | | | | | | | | | operation of GlusterFS. PR: 192701 Submitted by: harsha at harshavardhana.net Reviewed by: kib@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | Properly evaluate XZ_CMD from the chroot.gjb2015-03-021-1/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Change the sa(4) driver to check for long position support onken2015-03-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCSI-2 devices. Some older tape devices claim to be SCSI-2, but actually do support long position information. (Long position information includes the current file mark.) For example, the COMPAQ SuperDLT1. So we now only disable the check on SCSI-1 and older devices. sys/cam/scsi/scsi_sa.c: In saregister(), only disable fetching long position information on SCSI-1 and older drives. Update the comment to explain why. Confirmed by: dvl Sponsored by: Spectra Logic MFC after: 3 weeks
* | o Add more room for EFI boot blocksbr2015-03-021-2/+14
| | | | | | | | | | | | | | o Specify the filename as argument Differential Revision: https://reviews.freebsd.org/D1999 Reviewed by: emaste@
* | Use xz(1) to compress FreeBSD/arm images.gjb2015-03-021-3/+4
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Implement Enhanced DAD algorithm for IPv6 described inhrs2015-03-024-44/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | draft-ietf-6man-enhanced-dad-13. This basically adds a random nonce option (RFC 3971) to NS messages for DAD probe to detect a looped back packet. This looped back packet prevented DAD on some pseudo-interfaces which aggregates multiple L2 links such as lagg(4). The length of the nonce is set to 6 bytes. This algorithm can be disabled by setting net.inet6.ip6.dad_enhanced sysctl to 0 in a per-vnet basis. Reported by: hiren Reviewed by: ae Differential Revision: https://reviews.freebsd.org/D1835
* | Remove pregenerated text version of the texinfo documentationbapt2015-03-022-20488/+0
| |
OpenPOWER on IntegriCloud