summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use htons()/ntohs() appropriately.tuexen2013-11-072-3/+3
| | | | | | These issues were reported by Andrew Galante. MFC after: 3 days
* devd: lower priority of action execution logging to infoavg2013-11-071-1/+1
| | | | Reviewed by: asomers
* devd: fix a typo in a commentavg2013-11-071-1/+1
| | | | Reviewed by: asomers
* Finish r257779.glebius2013-11-072-2/+5
| | | | PR: usb/183728
* Replace pkg-tools with pkgng.dteske2013-11-075-77/+266
|
* Fix an off-by-one error that was causing menus to look funny.dteske2013-11-071-1/+1
|
* Comments.dteske2013-11-071-2/+2
|
* Add f_sprintf() and f_vsprintf() to go along with previously addeddteske2013-11-071-0/+22
| | | | f_snprintf() and f_vsnprintf() (size-constraint) functions.
* Fix a bug where a format with leading `-' could be mistaken for printfdteske2013-11-071-1/+2
| | | | getopts argument(s).
* Comments.dteske2013-11-071-5/+5
|
* Add some helpful debugging (showing the resolved host address).dteske2013-11-071-0/+1
|
* Fix a silly bug that would result in attempting to fetch (literally) thedteske2013-11-071-1/+1
| | | | URI "httpDirectory" (oops).
* Use dialog(1) to obtain maximum-size; stty fails when running in a pipe-dteske2013-11-071-1/+10
| | | | | chain. This allows dialogs to reach full size even when executed as an rvalue operand to a pipe (e.g., cat file | bsdconfig -f-).
* Add an f_eval_catch() function for debugging individual commands in adteske2013-11-071-0/+82
| | | | | | | | | | series of commands. Accepts the `-d' flag as a first argument to skip displaying messages in a dialog box. The command is logged as it appears to the shell prior to the first pass of parameter expansion to allow copy/pasting into a real shell (opposed to simply echo'ing the command which would produce debug output that has undergone at least one pass of parameter expansion, thus no-longer copacetic for copy/paste). Takes printf(1) style syntax and a utility identifier for error messages.
* Add an f_show_err() function -- acts pretty much the same as f_show_msg()dteske2013-11-072-0/+25
| | | | | except it stylizes the msgbox widget to indicate an Error has occurred by setting an appropriate title and default message.
* Add global DEBUG_INITIALIZE_FILE environment variable for controllingdteske2013-11-071-5/+13
| | | | | | whether the debugFile is truncated upon initialization (useful for when children implicitly re-initialize debugging and you want children to append to your existing debugFile).
* Comments. Replace a funny syntax with f_isset() while here.dteske2013-11-071-11/+10
|
* Whitespace.dteske2013-11-071-1/+1
|
* - Use libusb20_strerror() function instead of custom usb_error() one.hselasky2013-11-076-141/+72
| | | | | | | | | | - Rename "aux.[ch]" to "util.[ch]" which is a more common name for utility functions and allows checkout on some non-FreeBSD systems where the "aux.*" namespace is reserved. - Fix some compile warnings while at it. PR: usb/183728 MFC after: 2 weeks
* Do not build aicasm with the cross-tools/kernel-toolchain, instead add aian2013-11-071-3/+29
| | | | | | | | | proper kernel-tools step/target modeled after the world build-tools stuff. This is a re-do of r257730 which was backed out in r257734, but this time it's one byte smaller... a leftover trailing backslash resulted in a .for loop with no rules, so no compiler stuff got built and later steps built with the wrong toolset.
* Switch to the new common bus_space-v6.c, remove the local one.ian2013-11-072-114/+1
|
* Switch to the new common bus_space-v6.c, remove the local one.ian2013-11-072-114/+1
|
* Propagate ancient fix from Junos.sjg2013-11-071-1/+1
| | | | | | Use of -h is not supposed to depend on AUTHENTICATION being defined. Reviewed by: markm
* cxgbe(4): Tidy up the display for payload memory statistics (pm_stats).np2013-11-071-12/+18
| | | | | | | # sysctl -n dev.t4nex.0.misc.pm_stats # sysctl -n dev.t5nex.0.misc.pm_stats MFC after: 1 week
* * Use "math.h" instead of <math.h>.kargl2013-11-063-24/+41
| | | | | | | | | | | | | | * Use bit twiddling. This requires inclusion of math_private.h and inclusion of float.h in s_roundl.c. Raise invalid exception. * Use literal integer constants where possible. Let the compiler do the appropriate conversion. * In s_roundf.c, use an F suffix on float constants instead of promoting float to double and then converting the result back to float. In s_roundl.c, use an L suffix. * In s_roundl.c, use the ENTERI and RETURNI macros. This requires the inclusion of fpmath.h and on __i386__ class hardware ieeefp.h. Reviewed by: bde
* Fix powerd/states on AMD cpus. Resolves issues with system reporting:sbruno2013-11-061-2/+7
| | | | | | | | | | hwpstate0: set freq failed, err 6 Tested on FX-8150 and others. PR: 167018 Submitted by: avg MFC after: 2 weeks
* Fix an off-by-one error when iterating over the emulated PCI BARs.neel2013-11-061-1/+1
| | | | Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)
* the number of slots used by a packet is NS_RFRAGS() not ns_cntluigi2013-11-061-4/+3
|
* Provide compat layer for OSIOCAIFADDR.glebius2013-11-063-5/+14
|
* remove a debugging messageluigi2013-11-061-1/+1
|
* make it so that from/to can be missaligned as it can happen (the gelijmg2013-11-063-67/+95
| | | | | | | | | | | | | | | | | | | | | | regression manages to do it)... We use a packed struct to coerce gcc/clang into producing unaligned loads (there is not packed pointer attribute, otherwise this would be easier)... use _storeu_ and _loadu_ when using the structure is overkill... be better at using types properly... Since we allocate our own key schedule and make sure it's aligned, use the __m128i type in various arguments to functions... clang ignores __aligned on prototypes and gcc errors on them, leave them in comments to document that these function arguments are require to be aligned... about all that changes is movdqa -> movdqu from reading the diff of the disassembly output... Noticed by: symbolics at gmx.com MFC after: 3 days
* Fix a bug that resulted in spurious error message "f_media_shutdown_http:dteske2013-11-061-1/+1
| | | | not found" from /usr/libexec/bsdconfig/030.packages/packages.
* Add support for dereferencing SRV records via f_host_lookup(). Takes thedteske2013-11-061-3/+38
| | | | | media choice into consideration for determining the appropriate SRV records to query (e.g., _http._tcp, _ftp._tcp, _nfs.tcp, _nfs.udp, etc.).
* Don't return ENOBUFS if the transmit path handles the frame but queues it ↵adrian2013-11-061-4/+8
| | | | | | | | (eg in power save.) This is definitely an MFC candidate for 10.0-REL. MFC after: 1 week
* Add definition for the Atheros 8021 gigabit PHY.nwhitehorn2013-11-062-0/+2
| | | | MFC after: 1 week
* Make the powerpc dumpsys() more consistent with the other architectures.jhibbits2013-11-061-3/+5
| | | | MFC after: 10.0-RELEASE
* Switch to using pkg(8) for the doc install in bsdinstall(8).gjb2013-11-061-2/+9
| | | | | | | | | This also bootstraps the system with pkg(8) for future use. PR: 183488 Submitted by: Joe Ennis MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Implement a working write region function to speed up loading of thehselasky2013-11-061-6/+25
| | | | | | | firmware. You can test this change by switching the "#if 1" statement right above in the patched code to "#if 0" ! MFC after: 1 week
* An addendum: it is possible, though of questionable utility, for a nodenwhitehorn2013-11-061-0/+2
| | | | to have no properties at all. Do the right thing in such cases.
* Do not panic if pmap_mincore() is called. This prevents crashing userlandnwhitehorn2013-11-061-1/+1
| | | | | | binaries from bringing down the kernel. MFC after: 3 days
* Make OF_nextprop() work correctly for FDT by using the libfdtnwhitehorn2013-11-061-67/+26
| | | | | | | | fdt_next_property_offset() API. The old code would sometimes (e.g. on the device tree supplied by the RB800 boot loader) get confused and stop partway through listing properties. MFC after: 1 week
* Check for "ieee80211_vap_setup()" failure in all USB WLAN drivers.hselasky2013-11-069-17/+63
| | | | MFC after: 1 week
* Switch allwinner A10/A20 and rockchip ports to use common ARMv6/v7 bus_space ↵ray2013-11-065-229/+3
| | | | | | tag. Tested by: ganbold
* Switch to use common ARMv6/v7 bus_space tag.ray2013-11-064-133/+3
| | | | Tested by: ian, ray
* Add common bus_space tag definition shared for most supported ARMv6/v7 SoCs.ray2013-11-061-0/+153
| | | | Tested by: ian, ray
* Fix my braino in r257692. For SIOCG*ADDR we don't need exact match onglebius2013-11-061-9/+16
| | | | | | specified address, actually in most cases the address isn't specified. Reported by: peter
* - Remove mac_get_fd/mac_set_fd - those are not syscalls. The __mac_get_fd() andpjd2013-11-061-8/+1
| | | | | | | | | __mac_set_fd() syscalls are listed earlier. - Correct typo in syscall name. It should be sched_rr_get_interval, not sched_rr_getinterval. Submitted by: David Drysdale <drysdale@google.com> MFC after: 3 days
* Remove the gross hack for the Octeon Simple Executive to the leastimp2013-11-062-9/+14
| | | | | | | | intrusive place for it to be: the octeon std file. Fix a comment while I'm here. Allow for future architectural specific flags. Reviewed by: jmallet@
* Revert r257730:gjb2013-11-061-28/+2
| | | | | | Make head/ buildable again, instead of spewing garbage like: /src/gnu/lib/csu/../../../contrib/gcc/config/rs6000/crtsavres.asm:280: Error: no such instruction: `lwz 28,-16(11)'
* Revert r257691, r257645:gjb2013-11-061-13/+0
| | | | Let amd64/amd64 build again.
OpenPOWER on IntegriCloud