aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a configuration file to support the Cubox/Hummingboard SoC.Glen Barber2015-06-021-0/+39
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283920
* Remove trailing tabs to avoid spamming stdout with long lines.Glen Barber2015-06-021-4/+4
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283919
* Add a missing wakeup when releasing ownership of the SPI hardware.Ian Lepore2015-06-021-13/+12
| | | | | | | | | | Also, validate the chipselect parameter before grabbing ownership of the hardware, and report timeout errors after releasing it. PR: 200584 Notes: svn path=/head/; revision=283918
* Pass the '-b' argument to pw(8) so the '/home' directory is createdGlen Barber2015-06-021-1/+2
| | | | | | | | | | in the correct place. MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283913
* Remove unused variables reported by clang.Marcelo Araujo2015-06-022-5/+2
| | | | | | | | Differential Revision: D2688 Reviewed by: rodrigc, mav Notes: svn path=/head/; revision=283907
* Remove unused variable allocated_ctx reported by clang.Marcelo Araujo2015-06-021-5/+1
| | | | | | | | Differential Revision: D2684 Reviewed by: rodrigc Notes: svn path=/head/; revision=283906
* Fix bug in r278331: unlike some other options MaxRecvDataSegmentLengthAlexander Motin2015-06-021-1/+1
| | | | | | | | | is not negotiated as minimum, but only reported by sides to each other. MFC after: 1 week Notes: svn path=/head/; revision=283898
* Add example howto configure gre(4) tunnel with the same inner andAndrey V. Elsukov2015-06-021-1/+39
| | | | | | | | | outer addresses using multiple FIBs. X-MFC after: r282809 Notes: svn path=/head/; revision=283897
* In arm_create_disk(), disable soft updates journaling.Glen Barber2015-06-011-1/+1
| | | | | | | | | | | | | Disabling soft updates journaling appears to resolve issues with kernel panics, and may also be generally bad to have enabled for SD cards. Requested by: ian MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283896
* Re-enable arm_create_user(), and pass the '-V DESTDIR/etc' toGlen Barber2015-06-011-4/+7
| | | | | | | | | | | | | pw(8) to set the correct /etc directory for the user/group files. Provided by: ian (thanks!) MFC after: 3 days X-MFC-with: r283894 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283895
* Disable arm_create_user(). As-is, this does not create theGlen Barber2015-06-011-1/+1
| | | | | | | | | | | | | | | user in the userland for the target image, but creates the user in the build chroot. Before this is re-enabled, I want to figure out a clean way to do this without requiring the overhead of third-party utilities (such as qemu). MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=283894
* Catch up to the SRIOV API changes in r283670.John Baldwin2015-06-012-3/+4
| | | | Notes: svn path=/head/; revision=283893
* Clear p_stops upon PROCFS_CTL_DETACH, similar to r283889.Xin LI2015-06-011-0/+1
| | | | | | | | | | Noticed by: jhb Reviewed by: sef Sponsored by: iXsystems, Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=283891
* Clear p_stops when doing PT_DETACH.Xin LI2015-06-011-0/+1
| | | | | | | | | | | | | | Without this, if a process was being traced by truss(1), which uses different p_stops bits than gdb(1), the latter would misbehave because of the unexpected bits. Reported by: jceel Submitted by: sef Sponsored by: iXsystems, Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=283889
* Remove __ARM_EABI__ from sys/arm/arm, building for oabi is unsupported.Andrew Turner2015-06-013-17/+0
| | | | Notes: svn path=/head/; revision=283888
* Clear the C bit of the saved program state register when also clearing theAndrew Turner2015-06-011-3/+5
| | | | | | | | | | return value. We use this bit to signal when a syscall has failed, and without this getcontext/setcontext may fail. MFC after: 1 week Notes: svn path=/head/; revision=283887
* Delta D2489 - Add SRIOV support to the Intel 10G driver.Jack F Vogel2015-06-017-180/+1382
| | | | | | | | | | NOTE: This is a technology preview, while it has undergone development testing, Intel has not yet completed full validation of the feature. It is being integrated for early access and customer testing. Notes: svn path=/head/; revision=283883
* Revert last commit, to remove added skeleton tree.Jack F Vogel2015-06-017-1384/+184
| | | | Notes: svn path=/head/; revision=283882
* Delta D2489 - Add SRIOV support to the Intel 10G driver.Jack F Vogel2015-06-017-184/+1384
| | | | | | | | | NOTE: This is a technology preview, while it has undergone development tests, Intel has not yet completed full validation of the feature. It is being integrated for early access and customer testing. Notes: svn path=/head/; revision=283881
* Add USB MIDI template for USB device side mode.Hans Petter Selasky2015-06-016-1/+248
| | | | Notes: svn path=/head/; revision=283879
* Remove unneeded NULL checks in amd64's trap_fatal().Dimitry Andric2015-06-011-8/+2
| | | | | | | | | | | | | | | | Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed. In addition, curproc can never be NULL, so remove the if statement, and splice the two printfs() together. While here, remove the u_long cast, and use the correct printf format specifier curproc->p_pid. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D2695 Notes: svn path=/head/; revision=283870
* Fix the wrong format, format specifies type 'int' but the argument has typeMarcelo Araujo2015-06-011-1/+1
| | | | | | | | | | 'long', it was spotted by clang. Differential Revision: D2663 Reviewed by: imp, rodrigc Notes: svn path=/head/; revision=283869
* Remove unused variable spotted by clang.Marcelo Araujo2015-06-011-2/+2
| | | | | | | | Differential Revision: D2685 Reviewed by: rodrigc, stas Notes: svn path=/head/; revision=283868
* Remove unused variable, this variable fmtstr was introduced at revision r225868Marcelo Araujo2015-06-011-6/+1
| | | | | | | | | | and it is not used anymore after the convertion to use libxo at revision r283304. Differential Revision: D2678 Reviewed by: marcel Notes: svn path=/head/; revision=283867
* cxgbe: no need to display the per-lane GT/s rating of the pcie link.Navdeep Parhar2015-06-011-19/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=283864
* Fix a debug statement. Only the callback function (performing theDevin Teske2015-06-011-1/+1
| | | | | | | | | | | incrementing of dpv_overall_oread) knows what its purpose is (and often times it was bytes, not lines). MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=283863
* cxgbe: set minimum burst size when fetching freelist buffers to 128B.Navdeep Parhar2015-06-011-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=283858
* Append to SUBDIR, not set itEnji Cooper2015-05-311-2/+2
| | | | | | | Pointyhat to: ngie Notes: svn path=/head/; revision=283845
* ypxfr(8): Use the correct enum member for checking yp_errno.Craig Rodrigues2015-05-311-2/+2
| | | | | | | | | | Found-by: gcc47 Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit d0b3a17c3c6) Notes: svn path=/head/; revision=283844
* Cast to gid_t for groups not uid_tBaptiste Daroussin2015-05-311-1/+1
| | | | Notes: svn path=/head/; revision=283843
* Remove useless cast in printf and printf-like functions:Baptiste Daroussin2015-05-313-23/+23
| | | | | | | use %u for uid_t and gid_t Notes: svn path=/head/; revision=283842
* Cast -1 to uid_t and bump WARNING level to 3Baptiste Daroussin2015-05-313-4/+4
| | | | Notes: svn path=/head/; revision=283841
* Remove empty tests directoryEnji Cooper2015-05-310-0/+0
| | | | | | | X-MFC with: r282059, r283056 Notes: svn path=/head/; revision=283840
* Set the return value correctly on copy failure in copystr.Andrew Turner2015-05-311-0/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=283839
* Fix some gcc compiler warnings.Craig Rodrigues2015-05-311-5/+5
| | | | | | | | Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit 51798e10f3dd) Notes: svn path=/head/; revision=283838
* yppoll(8): Comment out -h option.Craig Rodrigues2015-05-312-11/+21
| | | | | | | | | | | | | | The implementation of it is missing (see e.g. NetBSD or OpenBSD). Until someone works on it, comment out the existing code to silence a warning about 'hostname' being set but unused. Found-by: gcc47 Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit e455855db) Notes: svn path=/head/; revision=283837
* Consistently only use one end of the pipe in the parent and debuggerJohn Baldwin2015-05-311-3/+5
| | | | | | | | | | | processes and do not rely on EOF due to a close() in the debugger. PR: 200489 Differential Revision: https://reviews.freebsd.org/D2674 Reviewed by: kib, ngie, rodrigc Notes: svn path=/head/; revision=283836
* Use proper prototype for harmless().Craig Rodrigues2015-05-311-1/+1
| | | | Notes: svn path=/head/; revision=283835
* Make x_putlong() and x_putbytes() prototypes match theCraig Rodrigues2015-05-311-2/+2
| | | | | | | prototypes in <rpc/xdr.h> Notes: svn path=/head/; revision=283834
* Use ANSI C prototypes.Craig Rodrigues2015-05-318-275/+116
| | | | Notes: svn path=/head/; revision=283833
* Remove unused variable.Konstantin Belousov2015-05-311-2/+0
| | | | | | | | | | | | | | | | | When deallocate_dependencies() is performed, softdep_journal_freeblocks() already called cancel_allocdirect() which should have eliminated direct dependencies for all truncated full blocks. The indirect dependencies are allowed above, since second- and third-level dependencies are only dealt with by the code which frees indirect block, which happens after the inode write. Discussed with: mckusick, jeff Reviewed by: jeff Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=283832
* Add the needed if-then instructions to build as Thumb-2.Andrew Turner2015-05-316-0/+53
| | | | Notes: svn path=/head/; revision=283831
* Remove __ARM_EABI__ from more places in libc as this is the only ARM ABIAndrew Turner2015-05-313-19/+7
| | | | | | | we support. Notes: svn path=/head/; revision=283824
* The code starts with base + 1 as the first port. Fix to documentationMichael Tuexen2015-05-311-2/+2
| | | | | | | | | to match that. MFC after: 3 days Notes: svn path=/head/; revision=283820
* A TCP checksum of 0 is completely valid. Mapping 0 to 0xffff onlyMichael Tuexen2015-05-311-4/+2
| | | | | | | | | applies to UDP and UDP-Lite. MFC after: 3 days Notes: svn path=/head/; revision=283819
* Move cleanup functions to the right placeBaptiste Daroussin2015-05-311-2/+3
| | | | Notes: svn path=/head/; revision=283818
* Don't send illegal packets when using UDP-Lite.Michael Tuexen2015-05-312-10/+50
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=283817
* Remove useless test before free()Baptiste Daroussin2015-05-311-2/+1
| | | | Notes: svn path=/head/; revision=283816
* Return early in case we cannot read the configuration fileBaptiste Daroussin2015-05-311-110/+111
| | | | | | | This drops one level of indentation Notes: svn path=/head/; revision=283815
* Make pw_user()/pw_group() more consitent about errorsBaptiste Daroussin2015-05-312-37/+24
| | | | | | | | | | | Some of errors were returned to the main function, some others caused a direct exit via err(3). The main function is only interested in EXIT_SUCCESS, so in all other cases replace warn(3) + return err by err(3) Notes: svn path=/head/; revision=283814