summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix few style nits.jkim2012-03-052-2/+2
|
* Fix typo. Bump .Dd for the previous change.pluknet2012-03-051-1/+1
|
* Make growfs(8) mostly style compliant. No functional changes,trasz2012-03-052-616/+457
| | | | verified with MD5.
* Print out process name and thread id in the debugging message.ivoras2012-03-051-2/+3
| | | | | | | This is useful because the message can end up in system logs in non-debugging operation. Reviewed by: attilio (earlier version)
* Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs.kib2012-03-051-5/+32
| | | | | Reported and tested by: pho MFC after: 2 weeks
* Add DWC OTG module to ARM builds.hselasky2012-03-052-1/+46
| | | | MFC after: 1 week
* Fix for DWC OTG interrupt register programming.hselasky2012-03-053-22/+44
| | | | | | | Fix a compiler warning. Add missing header file. MFC after: 1 week
* Fix ng_ipfw(4) cookie number in example.glebius2012-03-051-2/+2
| | | | Pointed out by: "Jacco van Buuren" <jaccovanbuuren gmail.com>
* Make the chroot shell more functional by providing devfs.nwhitehorn2012-03-051-0/+1
| | | | | Reported by: Robert Simmons MFC after: 4 days
* Oops - used the wrong field.adrian2012-03-051-1/+1
| | | | Noticed by: nwhitehorn
* Add the thread id to the net80211 alq records.adrian2012-03-042-1/+4
| | | | This will (hopefully) aid in debugging concurrency related issues.
* Fix style(9) issues.adrian2012-03-041-10/+12
|
* Fix a thinko in r232322, where gcc (and its tools) are not built duringdim2012-03-041-2/+2
| | | | | | | | | | | | | | the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set. This causes no 'cc' to be installed in the temporary cross-tools tree, making lint fall over later in the build, because it ignores ${CC} and attempts to run 'cc' anyway. To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC is set, or if WITH_CLANG_IS_CC is set. Pointy hat to: dim MFC after: 2 weeks
* Exclude USB drivers (except umass and ukbd) from main kernel image on i386rmh2012-03-043-74/+0
| | | | | | | and amd64. Reviewed by: hselasky, arch, usb Approved by: kib (mentor)
* Copy amd64 ptrace.h to x86 and merge with i386 ptrace.h. Replacetijl2012-03-045-79/+61
| | | | | | | | | | amd64/i386/pc98 ptrace.h with stubs. For amd64 PT_GETXSTATE and PT_SETXSTATE have been redefined to match the i386 values. The old values are still supported but should no longer be used. Reviewed by: kib
* Do not use INT64_C and UINT64_C to define 64 bit integer limits. Theytijl2012-03-041-6/+10
| | | | | | aren't defined for C++ code unless __STDC_CONSTANT_MACROS is defined. Reported by: jhb
* Respect phy-handle property in Ethernet nodes of the device tree.raj2012-03-048-48/+75
| | | | | | | | This lets specify whereabouts of the parent PHY for a given MAC node (and get rid of ugly kludges in mge(4) and tsec(4)). Obtained from: Semihalf MFC after: 1 week
* Change SYSINIT priorities so that ip_mroute_modevent() is executedzec2012-03-041-2/+2
| | | | | | | | | | before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is done in in ip_mroute_modevent(). Apparently I broke that ordering with r208744 almost 2 years ago... PR: kern/162201 Submitted by: Stevan Markovic (mcafee.com) MFC after: 3 days
* Document pci_find_extcap() and pci_find_htcap().jhb2012-03-042-0/+51
|
* Rather than printing the output from route add for all FIBs just print thembz2012-03-041-16/+30
| | | | | | | | | for the default FIB followed by a statement with a list of FIB numbers for all the other FIBs we install the routes for. Request by: kib (to make it less noisy) Tested by: kib MFC after: 3 days
* In nd6_options() ignore the RFC 6106 options completely rather than printingbz2012-03-041-0/+8
| | | | | | | | them if nd6_debug is enabled as unknown. Leave a comment about the RFC4191 option as I am undecided so far. Discussed with: hrs MFC after: 3 days
* Correct typo in the RFC number for the constants based on IANA assignmentsbz2012-03-041-2/+2
| | | | | | | for IPv6 Neighbor Discovery Option types for "IPv6 Router Advertisement Options for DNS Configuration". It is RFC 6106. MFC after: 3 days
* Remove unused #defines. All this is now retrieved from the device tree.raj2012-03-041-126/+0
| | | | MFC after: 1 week
* Permit the use of raidz3 in pc-sysinstalleadler2012-03-041-1/+1
| | | | | | | | PR: conf/164709 Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days
* Fix race condition in KfRaiseIrql().brucec2012-03-041-4/+6
| | | | | | | | | | After getting the current irql, if the kthread gets preempted and subsequently runs on a different CPU, the saved irql could be wrong. Also, correct the panic string. PR: kern/165630 Submitted by: Vladislav Movchan <vladislav.movchan at gmail.com>
* Bump date as modified the man pageeadler2012-03-041-1/+1
| | | | Submitted by: gjb
* Explicitly list dependencyeadler2012-03-041-0/+2
| | | | | | | | PR: misc/160463 Submitted by: Garrett Cooper <yanegomi@gmail.com> Helped by: kan Approved by: cperciva MFC after: 3 days
* Remove outdated comment of seven yearseadler2012-03-041-7/+0
| | | | | | PR: docs/116116 Approved by: cperciva MFC after: 1 week
* Remove reference to gcc's non-standard -fwritable-strings, whicheadler2012-03-041-7/+1
| | | | | | | | | doesn't exist in recent releases (and is bad advice anyway) PR: docs/163119 Submitted by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: cperciva MFC after: 1 week
* POSIX mandates that swab do nothing when len < 0eadler2012-03-042-1/+6
| | | | | | | PR: kern/140690 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> Approved by: cperciva MFC after: 2 weeks
* Fix a variety of grammar issues and style nits.eadler2012-03-041-74/+75
| | | | | | | | PR: docs/165668 Submitted by: Robert Simmons <rsimmons0@gmail.com> Reviewed by: kaduk@mit.edu Approved by: cperciva MFC after: 1 week
* ehci tunables are only available when kernel is compiled with USB_DEBUGeadler2012-03-041-1/+5
| | | | | | | | PR: docs/163646 Reported by: Momchil Ivanov <momchil@xaxo.eu> Submitted by: Benjamin Kaduk <kaduk@mit.edu> Approved by: cperciva MFC after: 1 week
* Reapply 227753 (xlocale cleanup), plus some fixes so that it passes buildtheraven2012-03-0429-444/+963
| | | | | | universe with gcc. Approved by: dim (mentor)
* Add __aeabi_read_tp to the symbol list.cognet2012-03-041-0/+1
|
* PR: docs/158813eadler2012-03-041-26/+29
| | | | | | Submitted by: Ben Kaduk <kaduk@mit.edu> Approved by: bcr MFC after: 1 week
* pipe_read(): change the type of size to int, and remove signed clamp.kib2012-03-041-4/+5
| | | | | | | pipe_write(): change the type of desiredsize back to int, its value fits. Requested by: bde MFC after: 3 weeks
* Instead of incomplete handling of read(2)/write(2) return values thatkib2012-03-041-12/+8
| | | | | | | | | | | | does not fit into registers, declare that we do not support this case using CTASSERT(), and remove endianess-unsafe code to split return value into td_retval. While there, change the style of the sysctl debug.iosize_max_clamp definition. Requested by: bde MFC after: 3 weeks
* Remove unneeded cast to u_int. The values as small enough to fit intokib2012-03-041-2/+1
| | | | | | | int, beside the use of MIN macro which performs type promotions. Submitted by: bde MFC after: 3 weeks
* Copy amd64 trap.h to x86 and replace amd64/i386/pc98 trap.h with stubs.tijl2012-03-044-185/+102
|
* Copy amd64 float.h to x86 and merge with i386 float.h. Replacetijl2012-03-044-183/+105
| | | | amd64/i386/pc98 float.h with stubs.
* Restore proper dot symbol creation for assembly files in the kernel build case.andreast2012-03-041-13/+46
| | | | | | | | | | | Without this patch we were not able to see the assembly function. Only the function descriptor was visible. - Distinguish between user-land and kernel when creating the ENTRY() point of assembly source. - Make the ENTRY() macro more readable, replace the .align directive with the gas platform independant .p2align directive. - Create an END()macro for later use to provide traceback tables on powerpc64.
* Properly restore curvnet context when returning early fromzec2012-03-041-1/+4
| | | | | | | | | | ether_input_internal(). This change only affects options VIMAGE kernel builds. PR: kern/165643 Submitted by: Vijay Singh MFC after: 3 days
* Remove unnecessary castskevlo2012-03-041-2/+2
|
* Fix build w/o 'options IEEE80211_SUPPORT_MESH'.glebius2012-03-041-0/+2
|
* Clean up style(9) nitskevlo2012-03-043-10/+10
|
* Add support for PWM controlled fans. I found these fans on my PowerMac9,1.andreast2012-03-041-72/+299
| | | | | | | | | These fans are not located under the same node as the the RPM controlled ones, So I had to adapt the current source to parse and fill the properties correctly. To control the fans we can set the PWM ratio via sysctl between 20 and 100%. Tested by: nwhitehorn MFC after: 3 weeks
* * Introduce new flag for QoS control field;adrian2012-03-043-28/+88
| | | | | | | | | | | | * Change in mesh_input to validate that QoS is set and Mesh Control field is present, also both bytes of the QoS are read; * Moved defragmentation in mesh_input before we try to forward packet as inferred from amendment spec, because Mesh Control field only present in first fragment; * Changed in ieee80211_encap to set QoS subtype and Mesh Control field present, only first fragment have Mesh Control field present bit equal to 1; Submitted by: monthadar@gmail.com
* * Added IEEE80211_ACTION_CAT_MESH in ieee80211.h as specified amendment spec;adrian2012-03-046-131/+146
| | | | | | | | | | | | | | | | | * Moved old categories as specified by D4.0 to be action fields of MESH category as specified in amendment spec; * Modified functions to use MESH category and its action fields: + ieee80211_send_action_register + ieee80211_send_action + ieee80211_recv_action_register +ieee80211_recv_action; * Modified ieee80211_hwmp_init and hwmp_send_action so they uses correct action fields as specified in amendment spec; * Modified ieee80211_parse_action so that it verifies MESH frames. * Change Mesh Link Metric to use one information element as amendment spec. Draft 4.0 defined two different information elements for request and response. Submitted by: monthadar@gmail.com
* Fix tls base computation with COMPAT_FREEBSD32 on n64 kernels. The previousjmallett2012-03-041-5/+9
| | | | | | | | | version was missing an else and would always use the n64 TP_OFFSET. Eliminate some duplication of logic here. It may be worth getting rid of some of the ifdefs and introducing gratuitous SV_ILP32 runtime checks on n64 kernels without COMPAT_FREEBSD32 and on o32 kernels, similarly to how PowerPC works.
* In r232322, I forgot one case where a check for MK_CLANG_IS_CC wasdim2012-03-041-1/+1
| | | | | | needed, in sys/conf/kern.pre.mk. Add it now. MFC after: 2 weeks
OpenPOWER on IntegriCloud