summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-2248-3/+1540
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Make the Wii GPIO driver a separate device.rpaulo2012-10-211-1/+1
|
* Fix the top comment.rpaulo2012-10-211-1/+1
|
* Add a config file for the Wii.rpaulo2012-10-211-0/+115
|
* Update dialog to 20120706: includes minor useability enhancements andnwhitehorn2012-10-2195-2989/+4239
|\ | | | | | | fixes for warnings encountered with clang.
| * Import dialog-1.1-20120706nwhitehorn2012-10-2194-2984/+4223
| |
* | Add the flags parameter to the disk_open() function and DISK_F_NOCACHEae2012-10-215-16/+30
| | | | | | | | | | flag, that disables the caching of partition tables metadata. Use this flag for floppies in the libi386/biosdisk driver.
* | Make fsck and fsck_msdosfs WARNS=6 cleanuqs2012-10-218-17/+16
| | | | | | | | | | | | | | | | | | - sprinkle const - add volatile qualifier to avoid vfork clobbering Inspired by: NetBSD PR: bin/139802 Reviewed by: ed
* | sbin/fsck: s/perror/perr/ to avoid shadowinguqs2012-10-218-79/+74
| | | | | | | | | | | | | | | | | | - rename some other vars too - merge NetBSD license changes Obtained from: NetBSD PR: bin/139802 Reviewed by: ed
* | Fix build.andreast2012-10-211-1/+1
| |
* | Add "options WII".rpaulo2012-10-211-0/+1
| |
* | Add support for iPhone 5 tethering.eadler2012-10-212-0/+4
| | | | | | | | | | | | | | PR: usb/172172 Submitted by: Ali Mashtizadeh <mashtizadeh@gmail.com> Approved by: cperciva MFC after: 1 week
* | Update ktr(4) to reflect changes from r239923.gjb2012-10-201-2/+10
| | | | | | | | Reviewed by: attilio
* | Revert r241752. The claim that it's more correct while at the same timemarcel2012-10-201-5/+4
| | | | | | | | causing a build breakage is interesting to say the least.
* | Grammar fixes to r241781.andre2012-10-202-2/+2
| | | | | | | | Submitted by: alc
* | Set default for ${pkg_info} like ${pkg_version}.ume2012-10-201-0/+1
| | | | | | | | MFC after: 1 week
* | Use correct INDEX on 10-CURRENT.ume2012-10-201-1/+1
| |
* | boot: use -march=i386 for both i386 and amd64 buildsavg2012-10-205-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | .. so that consistent compilation algorithms are used for both architectures as in practice the binaries are expected to be interchangeable (for time being). Previously i386 used default setting which were equivalent to -march=i486 -mtune=generic. The only difference is using smaller but slower "leave" instructions. Discussed with: jhb, dim MFC after: 29 days
* | Adds 4K quirks for the some SSD's which all perform better when 4Keadler2012-10-201-0/+110
| | | | | | | | | | | | | | | | | | | | | | aligned and only except 4K deletes (TRIM). PR: kern/169974 Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk> Tested by: ak Reviewed by: mav Approved by: cperciva (implicit) MFC after: 1 week
* | pkg_add is no more the default tool, make motd recommand using pkg install ↵bapt2012-10-201-1/+1
| | | | | | | | instead of pkg_add
* | Hide the unfortunate named sysctl kern.ipc.somaxconn from sysctl -aandre2012-10-202-5/+25
| | | | | | | | | | | | | | | | | | | | | | output and replace it with a new visible sysctl kern.ipc.acceptqueue of the same functionality. It specifies the maximum length of the accept queue on a listen socket. The old kern.ipc.somaxconn remains available for reading and writing for compatibility reasons so that existing programs, scripts and configurations continue to work. There no plans to ever remove the orginal and now hidden kern.ipc.somaxconn.
* | - Give PIL_PREEMPT the lowest priority just above low/stray interrupts.marius2012-10-202-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason for this is that the SPARC v9 architecture allows nested interrupts of higher priority/level than that of the current interrupt to occur (and we can't just entirely bypass this model, also, at least for tick interrupts, this also wouldn't be wise). However, when a preemption interrupt interrupts another interrupt of lower priority, f.e. PIL_ITHREAD, and that one in turn is nested by a third interrupt, f.e. PIL_TICK, with SCHED_ULE the execution of interrupts higher than PIL_PREEMPT may be migrated to another CPU. In particular, tl1_ret(), which is responsible for restoring the state of the CPU prior to entry to the interrupt based on the (also migrated) trap frame, then is run on a CPU which actually didn't receive the interrupt in question, causing an inappropriate processor interrupt level to be "restored". In turn, this causes interrupts of the first level, i.e. PIL_ITHREAD in the above scenario, to be blocked on the target of the migration until the correct PIL happens to be restored again on that CPU again. Making PIL_PREEMPT the lowest real priority, this effectively prevents this scenario from happening, as preemption interrupts no longer can interrupt any other interrupt besides stray ones (which is no issue). Thanks to attilio@ and especially mav@ for helping me to understand this problem at the 201208DevSummit. - Give PIL_STOP (which is also used for IPI_STOP_HARD, given that there's no real equivalent to NMIs on SPARC v9) the highest possible priority just below the hardwired PIL_TICK, so it has a chance to interrupt more things. MFC after: 1 week
* | Tidy up somaxconn (accept queue limit) and related functionsandre2012-10-201-22/+26
| | | | | | | | and move it together into one place.
* | Move uniq() prototype into extern.h.ed2012-10-203-3/+2
| |
* | More -Wmissing-variable-declarations fixes.ed2012-10-2022-46/+133
| | | | | | | | | | | | | | | | | | | | In addition to adding missing `static' keywords: - bin/dd: Pull in `extern.h' to guarantee consistency with source file. - libexec/rpc.rusersd: Move shared globals into an extern.h. - libexec/talkd: Move `debug' and `hostname' into extern.h. - usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree. - usr.bin/m4: Move `end_result' into extern.h. - usr.sbin/services_mkdb: Move shared globals into an extern.h.
* | Remove redundant code.ed2012-10-204-60/+35
| | | | | | | | | | | | | | Both mfi_flash.c and mfi_show.c contain very similar functions to print a list of firmwares. Move these routines into mfiutil.c. Reported by: jhb
* | strcmp(3) will suffice here, also follow the style of the remaining file ↵uqs2012-10-201-1/+1
| | | | | | | | | | | | more closely. Prodded by: ed
* | Apply local patches to mandoc and connect it to the build.uqs2012-10-206-13/+25
| | | | | | | | | | | | - adds a couple more library strings used in the tree - changes some more to the current groff spelling - changes page footer to match groff style
* | zfs: wait in arc_lowmem only if curproc == pageprocavg2012-10-201-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... otherwise the current thread might be holding ARC locks and thus run into a deadlock. This happens, for example, when a thread does memory allocation in the ARC code and runs into KVA shortage. Also, it really makes the most sense to wait in pageproc, so that the results of ARC reclamation are seen before the page cache is acted upon. In other cases where vm_lowmem is invoked, e.g. on KVA space shortage, the callers perform multiple attempts (up to 8) and wait for rather long intervals between them (up to 4 seconds), so ARC reclaim results should become visible even without explicit waiting on the ARC thread. Note that this is not a critical issue for typical ZFS usages where KVA space should already be large enough. On amd64 systems setting KVA size to twice the physical memory size is known to mitigate KVA fragmentation issues in practice. Side note: perhaps vm_lowmem 'how' parameter should be used to differentiate between causes of the event. Reported by: Nikolay Denev <ndenev@gmail.com> MFC after: 19 days
* | document acpi_cpu devd notification about _CST changeavg2012-10-201-0/+2
| | | | | | | | | | | | Based on prodding and a submission by Lars Engels <lars.engels@0x20.net>. MFC after: 5 days
* | - KTR_ENTRIES may be an arbitrary number, remove the sentence aboutkevlo2012-10-201-5/+2
| | | | | | | | | | | | | | power of two. - Mention the run time mask is set to block any tracing by default. Reviewed by: jhb
* | Don't lose the 255'th disk behind the initiator.jwd2012-10-191-1/+1
| | | | | | | | | | Reviewed by: ken@ MFC after: 1 month
* | Add missing Extended Capability ID Numbers from PCIe 3.0.imp2012-10-191-2/+12
| |
* | Indent ecaps the same way we indent caps.imp2012-10-191-1/+1
| | | | | | | | MFC after: 3 days
* | Document the method used to compute expf. Taken from exp, withimp2012-10-191-0/+62
| | | | | | | | changes to reflect differences in computation between the two.
* | Document the methods used to compute logf. Taken and edited from theimp2012-10-191-0/+51
| | | | | | | | | | double version, with adaptations for the differences between it and the float version.
* | Merge mandoc from vendor into contrib and provide the necessary Makefile glue.uqs2012-10-1978-0/+36430
|\ \ | | | | | | | | | It's not yet connected to the build.
| * | Vendor import of mdocml 1.12.1uqs2012-10-18105-0/+45115
| / | | | | | | | | | | | | It is a suite of ISC licensed tools to compile and render mdoc/man pages and will replace groff for formatting manpages in the base system. http://mdocml.bsd.lv/
* | Integrate changes from LSI vendor driver 10.80.00.005 to FreeBSD.delphij2012-10-195-39/+68
| | | | | | | | | | | | PR: kern/172833 Submitted by: "Charles O'Donnell" <cao bus net> MFC after: 1 week
* | Improve upon the previous commit to fix the yacc rule.marcel2012-10-191-4/+5
| | | | | | | | | | | | | | | | | | 1. Have the resulting C file depend on the resulting H file as it should be. Touch the C file to make sure the C file is newer than the H file to keep make happy. 2. Apply the same fix to the other instance of .ORDER, missed in the previous commit.
* | Fix a bootstrapping problem where the first bmake (built by FreeBSD'smarcel2012-10-191-4/+3
| | | | | | | | | | | | | | | | | | make) ended up being built with -DFORCE_MACHINE. This broke the lib32 built for amd64 & powerpc64. This fix is comes with the next import of bmake, but is committed here and now to minimize the exposure to the bug. Submitted by: Simon Gerraty <sjg@juniper.net>
* | Use M_NOWAIT when calling malloc with a lock held.emaste2012-10-191-2/+2
| | | | | | | | | | The check for a NULL return was already in place so I assume this was just an oversight.
* | When checking to see if a video output's _ADR matches an entry in thejhb2012-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parent adapter's _DOD list, only check the low 16 bits of both _ADR and _DOD. The language in the ACPI spec seems to indicate that the _ADR values should exactly match the entries in _DOD. However, I assume that the masking added to _DOD values was added to work around some known busted machines (the commit history doesn't indicate either way), and the ACPI spec does require that the low 16 bits are unique for all video outputs, so only check the low 16 bits should be fine. This fixes recognition of video outputs that use the new standardized device ID scheme in ACPI 3.0 that set bit 31 such as certain Dell laptops. Tested by: Juergen Lock nox jelal kn-bremen de MFC after: 3 days
* | Remove trailing whitespace.joel2012-10-191-159/+159
| |
* | Update man page crossreferences to sandybridge xeon classsbruno2012-10-193-3/+6
| | | | | | | | MFC after: 2 weeks
* | - Remove an unused header.marius2012-10-191-6/+4
| | | | | | | | | | | | - Don't waste a delay slot. MFC after: 3 days
* | Fix kernel build with options ZFS after r240868.marius2012-10-191-0/+1
| |
* | Update hwpmc to support the Xeon class of Sandybridge processors.sbruno2012-10-197-214/+1581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (Model 0x2D /* Per Intel document 253669-044US 08/2012. */) Add manpage to document all the goodness that is available in this processor model. No support for uncore events at this time. Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Reviewed by: jimharris@ fabient@ Obtained from: Yahoo! Inc. MFC after: 2 weeks
* | More -Wmissing-variable-declarations fixes.ed2012-10-1961-466/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* | Add missing const keywords.ed2012-10-193-8/+8
| |
OpenPOWER on IntegriCloud