summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Inform hwpmc(4) of a thread's impending demise prior to invoking sched_throw().jkoshy2009-10-251-0/+12
| | | | | Debugging help: fabient Review and testing by: fabient
* Update a comment to reflect the previous change.alc2009-10-251-1/+1
|
* sh: Exempt $@ and $* from set -ujilles2009-10-243-3/+18
| | | | | | | | This seems more useful and will likely be in the next POSIX standard. Also document more precisely in the man page what set -u does (note that $@, $* and $! are the only special parameters that can ever be unset, all the others are always set, although they may be empty).
* Add some tests for ${var?} and set -u.jilles2009-10-242-0/+51
|
* Add PRINTF_BUFR_SIZE=128, since we have SMP by default.marcel2009-10-241-2/+3
| | | | While here, fix tabulation.
* A 32KB kernel stack is not quite enough. The new USB stack is a bitmarcel2009-10-241-1/+1
| | | | | | | | | | | | more stack hungry as compared to the old one that my RX2660 gets a machine check and spontaneously reboots at the time the USB DVD drive is found and attached to CAM as a mass storage device. This doesn't happen always, but definitely varies per kernel build. Likewise when using a 128-byte printf buffer. The additional 128 bytes that printf needs seems to be enough to have the memory stack and register stack collide and causing a machine check. Thus: Bump KSTACK_PAGES from 4 to 5.
* Implement _umtx_op_err() for ia64.marcel2009-10-243-1/+38
|
* - Rename tunable kern.ipc.shmmaxpgs to kern.ipc.shmall.ru2009-10-241-1/+8
| | | | | | - Explain the fuss when initializing shmmax. PR: 75542 (mistakenly closed instead of PR 75541)
* Spell DIAGNOSTIC correctly.ru2009-10-242-3/+3
|
* Turn on NAP mode on G5 systems, and refactor the HID0 setup code a little.nwhitehorn2009-10-242-89/+160
| | | | | This makes my G5 Xserve sound slightly less like it is filled with howling banshees.
* Allow Heathrow-based machines to boot a kernel containing option SMPnwhitehorn2009-10-241-1/+7
| | | | without panicing.
* Add more obsolete man pages.antoine2009-10-241-0/+46
|
* Replace ocurrences of FreeBSD CURRENT by FreeBSD 8.0.rpaulo2009-10-242-3/+3
| | | | MFC after: 2 days
* Updates to the iwn driver:rpaulo2009-10-246-65/+142
| | | | | | | | | | | | * iwnfw has now been split into individual modules so autoloading of firmware module(s) does work again. * Changes have been made to RUN -> AUTH transition, this should fix the issue reported by Glen and others. * Brandon reported issues in iwn_cmd() with large commands, those have been fixed to. * DEAUTH is now handled correctly. Submitted by: Bernhard Schmidt <bschmidt at techwires.net>
* Correct spelling typo in ip_input comment.rwatson2009-10-241-1/+1
| | | | | | Pointed out by: N.J. Mann <njm at njm.me.uk>, John Nielsen <john at jnielsen.net>, julian (!), lstewart MFC after: 2 days
* Not all Intel Core (TM) CPUs implement PMC_CLASS_IAF fixed-functionjkoshy2009-10-241-12/+47
| | | | | | | counters. For such CPUs, use an alternate mapping of convenience names to events supported by PMC_CLASS_IAP programmable counters. Testing and review by: fabient
* Only claim that the PMC_CLASS_IAF PMCs are supported by a CPU ifjkoshy2009-10-241-5/+15
| | | | | | there are PMCs on the CPU that belong to the class. Review and testing by: fabient
* BIOSes, buggy or otherwise, are i386 or amd64 specific.marcel2009-10-231-0/+4
| | | | | | | | Have the early USB takeover enabled for i386 and amd64 by default. This also avoids a panic on PowerPC where the resource isn't released properly and we find a busy resource when the USB host controller wants to allocate it...
* Updated iwn(4) driver supporting the newer series, 5000, 5150 and 5300.rpaulo2009-10-239-6044/+19943
| | | | Submitted by: Bernhard Schmidt <bschmidt at techwires.net>
* Remove debugging printf that snuck in here.nwhitehorn2009-10-231-1/+0
| | | | Pointy hat to: me
* Add some more paranoia to setting HID registers, and update the AIMnwhitehorn2009-10-233-12/+27
| | | | | | | clock routines to work better with SMP. This makes SMP work fully and stably on an Xserve G5. Obtained from: Book-E (clock bits)
* Reimplement device reset sequence in more controller-specific way.mav2009-10-231-38/+34
|
* Remove a redundant byte swapping in the previous commit.jkim2009-10-231-1/+0
|
* Try hiding annoying text cursor after the video controller is reset.jkim2009-10-231-0/+5
|
* Search for default 800x600 graphics mode from supported VESA mode list.jkim2009-10-231-18/+46
| | | | Many video controllers do not support 800x600x24 mode any more.
* Correct some issues with zfs boot.rnoland2009-10-234-23/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Teach it to read gang blocks. (essentially untested) If you see "ZFS: gang block detected!", please let me know, so we can either remove the printf if it works, or fix it if it doesn't. - If multiple partitions exist on a disk, probe them all. We also need to reset dsk->start to 0 to read the right sector here. - With GPT, we can have 128 partitions. - If the bootfs property has ever been set on a pool it seems that it never goes away. zpool won't allow you to add to the pool with the bootfs property set. However, if you clear the property back to default we end up getting 0 for the object number and read a bogus block pointer and fail to boot. - Fix some error printfs. The printf in the loader is only capable of c,s and u formats. - Teach printf how to display %llu Reviewed by: dfr, jhb MFC after: 2 weeks
* - When we restore VESA state, try BIOS POST earlier. VESA restore statejkim2009-10-232-25/+71
| | | | | | | | | | | | | function may not work properly if we don't. Turn off hardware cursor as vesa_set_mode() does. - Add VBE 3.0 specific fields in VESA mode structure and pack it. Note the padding is 190 bytes although VBE 3.0 says 189 bytes. It must be wrong because the size of structure becomes 255 bytes and the specification says it must be 256 bytes in total. In fact, an example code in the spec. does it right, though. While we are at it, fix some i386-isms. - Remove state buffer size limitation. It is no longer necessary since sys/compat/x86bios/x86bios.c r198251. - Move int 0x10 vector test into vesa_bios_post() as we always do it anyway.
* Use the correct option name in the preprocessor command to enableqingli2009-10-233-5/+5
| | | | | | | or disable diagnostic messages. Reviewed by: ru MFC after: 3 days
* Remove unneeded blank line from bpf_drvinit().rwatson2009-10-231-1/+0
| | | | MFC after: 3 days
* - Fix several off-by-one errors when using MAXCOMLEN. The p_comm[] andjhb2009-10-235-20/+19
| | | | | | | | | | | | | td_name[] arrays are actually MAXCOMLEN + 1 in size and a few places that created shadow copies of these arrays were just using MAXCOMLEN. - Prefer using sizeof() of an array type to explicit constants for the array length in a few places. - Ensure that all of p_comm[] and td_name[] is always zero'd during execve() to guard against any possible information leaks. Previously trailing garbage in p_comm[] could be leaked to userland in ktrace record headers via td_name[]. Reviewed by: bde
* Style fix.jhb2009-10-231-1/+1
|
* Don't bother copying the name of a kproc or kthread out into a temporaryjhb2009-10-231-6/+2
| | | | | | | array just to pass that array to printf(). kproc and kthread names are NUL-terminated and can be printed using printf() directly. Reviewed by: bde
* MFp4:mav2009-10-234-15/+4
| | | | Do not differentiate 12/16 bytes ATAPI CCB formats when it is not needed.
* wordexp(3): fix some bugs with signals and long outputsjilles2009-10-232-19/+99
| | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month
* Do not map the trap vectors into the kernel's address space. They arenwhitehorn2009-10-232-6/+13
| | | | | | | | only used in real mode and keeping them mapped only serves to make NULL a valid address, which results in silent NULL pointer deferences. Suggested by: Patrick Kerharo Obtained from: projects/ppc64
* Make "Retrying Command" to be printed before actual retrying.mav2009-10-231-22/+17
| | | | It should make debug/error log a bit more readable.
* Improve grammar in ip_input comment while attempting to maintain whatrwatson2009-10-231-2/+2
| | | | | | might be its meaning. MFC after: 3 days
* Properly sort the intr_event_describe_handler() prototype.jhb2009-10-231-2/+2
| | | | Submitted by: bde
* Revert interrupt reason check order back.mav2009-10-231-6/+6
| | | | ATAPI errors may set IF bit together with TFE.
* MFp4:mav2009-10-234-254/+760
| | | | | Move Port Multiplier support code out of ATA XPT into pmp periph driver. This is convinient, as PMP itself is a bus target and has own state.
* Fix the build.mav2009-10-231-1/+1
|
* The draft spec doesn't say beacon frames need to have a wildcard BSSID,rpaulo2009-10-231-7/+1
| | | | | | so remove the mesh code necessary for that. MFC after: 2 days
* Use double-quotation marks to fix the unexpanded variable issue.hrs2009-10-231-3/+3
| | | | Spotted by: swell.k
* Replace most of priority numbers with defines. No logical changes.mav2009-10-2314-116/+117
|
* Remove some obsoleted comments.mav2009-10-231-13/+0
|
* Add SMP support on U3-based G5 systems. This does not yet work perfectly:nwhitehorn2009-10-239-103/+214
| | | | | | | | | | at least on my Xserve, getting the decrementer and timebase on APs to tick requires setting up a clock chip over I2C, which is not yet done. While here, correct the 64-bit tlbie function to set the CPU to 64-bit mode correctly. Hardware donated by: grehan
* After thinking again, implement cam_ccbq_fini().mav2009-10-223-2/+11
| | | | This is effectively NULL change, but makes this API a bit more consistent.
* Prevent wraparound of the timeout variable.thompsa2009-10-221-1/+5
| | | | Submitted by: HPS
* Move comments to the beginning of the line to make it look better.edwin2009-10-221-5/+5
| | | | | | Thank to ru@ for his noticing of it. MFC after: 1 week
* Rename default to default_function, for compatibility with GNU awk.emaste2009-10-221-7/+7
| | | | (For cross-compiling out-of-tree kernel modules, for example.)
OpenPOWER on IntegriCloud