aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Now that we have CDDLed code in the tree, add CDDL license.Pawel Jakub Dawidek2007-09-234-0/+1536
| | | | | | | | Discussed with: core Approved by: re (kensmith) Notes: svn path=/head/; revision=172301
* Make sure we do not call _arm_bzero() or _arm_memcpy() if the size is not atOlivier Houchard2007-09-221-3/+3
| | | | | | | | | least the minimum asked by the driver. Approved by: re (blanket) Notes: svn path=/head/; revision=172300
* Add various macros for the ADMA unit.Olivier Houchard2007-09-221-0/+39
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=172299
* Remove PF_MPSAFE_UGID leftover.Max Laier2007-09-222-5/+0
| | | | | | | | Spotted by: bz Approved by: re (gnn) Notes: svn path=/head/; revision=172298
* Add a driver for the 7seg found on the CRB board, largely based on theOlivier Houchard2007-09-228-0/+470
| | | | | | | | | IQ31244 version. Approved by: re (blanket) Notes: svn path=/head/; revision=172297
* Twist the RAS logic a bit to avoid branching.Olivier Houchard2007-09-221-12/+9
| | | | | | | | MFC After: 1 week Approved by: re (blanket) Notes: svn path=/head/; revision=172296
* The precision for a string argument in a call to warnx() needs to be castSean Farley2007-09-221-1/+2
| | | | | | | | | | | | to an int to remove the warning from using a size_t variable on 64-bit platforms. Submitted by: Xin LI <delphij@FreeBSD.org> Approved by: wes Approved by: re (kensmith) Notes: svn path=/head/; revision=172294
* - Improve grammar. s/it's/its/.Jeff Roberson2007-09-221-5/+13
| | | | | | | | | | | | | | | | | | | | | - Improve load long-term load balancer by always IPIing exactly once. Previously the delay after rebalancing could cause problems with uneven workloads. - Allow nice to have a linear effect on the interactivity score. This allows negatively niced programs to stay interactive longer. It may be useful with very expensive Xorg servers under high loads. In general it should not be necessary to alter the nice level to improve interactive response. We may also want to consider never allowing positively niced processes to become interactive at all. - Initialize ccpu to 0 rather than 0.0. The decimal point was leftover from when the code was copied from 4bsd. ccpu is 0 in ULE because ULE only exports weighted cpu values. Reported by: Steve Kargl (Load balancing problem) Approved by: re Notes: svn path=/head/; revision=172293
* Disable multiple ntfs mounts to the same mountpoint.Craig Rodrigues2007-09-211-1/+15
| | | | | | | | | | | | | | | Eliminates panics due to locking issues. Idea taken from src/sys/gnu/fs/xfs/FreeBSD/xfs_super.c. PR: 89966, 92000, 104393 Reported by: H. Matsuo <hiroshi50000 yahoo co jp>, Chris <m2chrischou gmail.com>, Andrey V. Elsukov <bu7cher yandex ru>, Jan Henrik Sylvester <me janh de> Approved by: re (kensmith) Notes: svn path=/head/; revision=172292
* Update to calendar/calendars/hr_HR.ISO_8859-2/calendar.prazniciEdwin Groothuis2007-09-211-7/+14
| | | | | | | | | | | | with fixes and new dates. PR: conf/26658 Submitted by: Josip Rodin <joy@gkvk.hr> Approved by: re@ (bmah), grog@ (mentor) MFC after: 1 week Notes: svn path=/head/; revision=172291
* Translate partitions of type "PART" to chunks of the same typeMarcel Moolenaar2007-09-211-4/+15
| | | | | | | | | | | as they would have been translated from partitions of type "GPT". This fixes sysinstall, now that geom_part has taken over from geom_gpt. Approved by: re (kensmith) Notes: svn path=/head/; revision=172286
* On PowerPC, geom_part has taken over the partitioning from geom_apple.Marcel Moolenaar2007-09-211-2/+7
| | | | | | | | | | Translate partitions of type "PART" to chunks of type "apple" on PowerPC. This fixes sysinstall. Approved by: re (kensmith) Notes: svn path=/head/; revision=172285
* Add FreeBSD history.David E. O'Brien2007-09-211-1/+3
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172277
* - added in missing \n for my entryThomas Abthorpe2007-09-211-1/+1
| | | | | | | | Submitted by: breueffer@ Approved by: re, miwi (mentor) Notes: svn path=/head/; revision=172276
* - add my entryThomas Abthorpe2007-09-212-0/+4
| | | | | | | Approved by: re (bmah), clsung/miwi (mentors) Notes: svn path=/head/; revision=172275
* Fix some locking cases where we ask for exclusively locked vnode, but we getPawel Jakub Dawidek2007-09-212-4/+25
| | | | | | | | | | | shared locked vnode in instead when vfs.lookup_shared is set to 1. Discussed with: kib, kris Tested by: kris Approved by: re (kensmith) Notes: svn path=/head/; revision=172274
* For arguments declared as numbers always use expand_number(3).Pawel Jakub Dawidek2007-09-211-3/+1
| | | | | | | | | | | | | | | | | This allows to use numbers in human-readable form in many geom(8) utilities. Such a simple change and makes live so much nicer. Some examples: gstripe label -s 16k gmirror label -s 4k gnop create -o 1g -s 128m -S 2k gjournal label -s 2g geli label -i 128k -s 4k Approved by: re (kensmith) Notes: svn path=/head/; revision=172273
* Use 'val' function argument instead of 'optarg' global variable.Pawel Jakub Dawidek2007-09-211-2/+2
| | | | | | | | | | This doesn't fix any real bug, because in those tw ocases we always passed 'optarg' as 'val'. Approved by: re (kensmith) Notes: svn path=/head/; revision=172272
* Dead code removal.Alexander Motin2007-09-211-11/+0
| | | | | | | Approved by: re (kensmith), glebius (mentor) Notes: svn path=/head/; revision=172271
* This is optimization of ether and debug hooks determination. ItAlexander Motin2007-09-211-44/+27
| | | | | | | | | | simplifies code and should speedup pppoe_findsession() function which is called for every incoming packet. Approved by: re (kensmith), glebius (mentor) Notes: svn path=/head/; revision=172270
* This patch fixes thread unsafe usage of global pkt_hdrAlexander Motin2007-09-211-22/+20
| | | | | | | | | variable. Second part is not so important, but IMO is also good. Approved by: re (kensmith), glebius (mentor) Notes: svn path=/head/; revision=172269
* - Redefine p_swtime and td_slptime as p_swtick and td_slptick. ThisJeff Roberson2007-09-211-9/+14
| | | | | | | | | | | | | | | changes the units from seconds to the value of 'ticks' when swapped in/out. ULE does not have a periodic timer that scans all threads in the system and as such maintaining a per-second counter is difficult. - Change computations requiring the unit in seconds to subtract ticks and divide by hz. This does make the wraparound condition hz times more frequent but this is still in the range of several months to years and the adverse effects are minimal. Approved by: re Notes: svn path=/head/; revision=172268
* Fix the archive_write_data() function so it always returnsTim Kientzle2007-09-212-4/+86
| | | | | | | | | | | | | | | | number of bytes written, even when used to write files to disk. Extend the test suite to verify the correct return values for archive_write_data() and archive_write_data_block(). Thanks to: Bruce Mah, for stepping in promptly to back out the earlier broken version of this fix Thanks to: Colin Percival, for pointing out the correct fix MFC after: 5 days Approved by: re (ksmith) Pointy hat: \me Notes: svn path=/head/; revision=172267
* - fix (global) address handling in the presence of duplicates, theRandall Stewart2007-09-213-83/+137
| | | | | | | | | | | | last interface should own the address, but the current code fumbles the handoff. This fixes that. - move address related debugs to PCB4 and add additional ones to help in debugging address problems. Approved by: re@freebsd.org (K Smith) Notes: svn path=/head/; revision=172266
* - When using kvm use the new conversion method to derive swtime.Jeff Roberson2007-09-211-3/+16
| | | | | | | Approved by: re Notes: svn path=/head/; revision=172265
* - Redefine p_swtime and td_slptime as p_swtick and td_slptick. ThisJeff Roberson2007-09-215-28/+31
| | | | | | | | | | | | | | | changes the units from seconds to the value of 'ticks' when swapped in/out. ULE does not have a periodic timer that scans all threads in the system and as such maintaining a per-second counter is difficult. - Change computations requiring the unit in seconds to subtract ticks and divide by hz. This does make the wraparound condition hz times more frequent but this is still in the range of several months to years and the adverse effects are minimal. Approved by: re Notes: svn path=/head/; revision=172264
* - Call sched_sleep() before we suspend threads. sched_wakeup() is alreadyJeff Roberson2007-09-211-0/+2
| | | | | | | | | | called via setrunnable(). This allows time slept while suspended to be accounted for swap. Approved by: re Notes: svn path=/head/; revision=172263
* - Add the device ID for the VIA VT3324 (CX700) chipset.Kevin Lo2007-09-212-42/+166
| | | | | | | | | - Set and Get aperture size correctly for VIA's AGP3 chipsets. Approved by: re (kensmith) Notes: svn path=/head/; revision=172262
* Use NULL instead of 0 for the return value of fopen().Kevin Lo2007-09-214-6/+6
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172261
* Use the udp protocol in favor of the nonexistant upd protocol in theBrooks Davis2007-09-211-1/+1
| | | | | | | | | | | sge_execd entry. Reported by: emaste Pointy hat to: brooks Approved by: re (kensmith) Notes: svn path=/head/; revision=172260
* Fix some improper handling of malloc failuresMatteo Riondato2007-09-205-30/+53
| | | | | | | | | | PR: bin/83344 , kern/81987 Reviewed by: alfred Approved by: re (kensmith) MFC after: 1 week Notes: svn path=/head/; revision=172259
* More dates: Sint Maarten, Dierendag, TrinitatisEdwin Groothuis2007-09-201-14/+30
| | | | | | | | | | | Fix spelling: Carnaval Add more of the Royal Family. Approved by: re@ (Ken Smith), grog@ (mentor) MFC after: 1 week Notes: svn path=/head/; revision=172258
* man(1) can't handle compressed included files.Edwin Groothuis2007-09-201-0/+15
| | | | | | | | | | | | | | | | | | | | Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Approved by: re@ (ken smith), grog@ (mentor) MFC after: 1 week Notes: svn path=/head/; revision=172257
* Fix some entries in the locks static table of witness.Attilio Rao2007-09-205-13/+9
| | | | | | | | | | | | | | | | | | | | | | | In particular: - smp_tlb_mtx is no longer used, so it is axed. - smp rendezvous lock isn't really a leaf spin-mutex. Its bad placement in the table, however, has been the source of a false positive LOR reporting with the dt_lock. However, smp rendezvous lock would have had sched_lock there for older lock, so it wasn't still a leaf lock. - allpmaps is only used in ia32 architecture, so it is inserted in the appropriate stub. Addictionally: - kse_zombie_lock is no longer present, so its definition is axed out. - zombie_lock doesn't need to have an exported symbol, so just let's it be declared as static. Tested by: kris Approved by: jeff (mentor) Approved by: re Notes: svn path=/head/; revision=172256
* Fill in cr2 in the signal context from ksi->ksi_addr.Konstantin Belousov2007-09-202-0/+4
| | | | | | | | | | | | | Together with the sys/i386/i386/trap.c rev. 1.306 it fixes the PR. Submitted by: rdivacky Suggested by: jhb Sponsored by: Google Summer of Code 2007 PR: kern/77710 Approved by: re (kensmith) Notes: svn path=/head/; revision=172255
* - Fix a declaration exampleGabor Kovesdan2007-09-201-2/+2
| | | | | | | | | | PR: docs/115632 Submitted by: Romain Tartiere <romain@blogreen.org> Approved by: re (bmah) MFC after: 3 days Notes: svn path=/head/; revision=172254
* - Fix description to say "receive" instead of "send"Gabor Kovesdan2007-09-201-2/+2
| | | | | | | | | PR: docs/115466 Submitted by: Bruce Cran <bruce@cran.org.uk> Approved by: re (bmah) Notes: svn path=/head/; revision=172253
* - Remove references to unexisting man pagesGabor Kovesdan2007-09-201-5/+2
| | | | | | | | | | PR: docs/116099 Submitted by: Ben Kaduk <minimarmot@gmail.com> Approved by: re (bmah) MFC after: 3 days Notes: svn path=/head/; revision=172252
* Serialize output routine of terminal emulator (te_puts()) by a lock.Hidetoshi Shimokawa2007-09-202-1/+14
| | | | | | | | | | | | | | | | | - The output routine of low level console is not protected by any lock by default. - Increment and decrement of sc->write_in_progress are not atomic and this may cause console hang. - We also have many other states used by emulator that should be protected by the lock. - This change does not fix interspersed messages which PRINTF_BUFR_SIZE kernel option should fix. Approved by: re (bmah) MFC after: 1 week Notes: svn path=/head/; revision=172250
* Add mmc and mmcsd, and correct a couple of comments. They areWarner Losh2007-09-191-3/+11
| | | | | | | | | | | commented out until I can re-test them on all our architectures. I had re@ approval to commit this a long time ago, but that's before we were this close to the branch. Approved by: re@ Notes: svn path=/head/; revision=172249
* Fill in a missing 'e'Tim Kientzle2007-09-191-1/+1
| | | | | | | | | Thanks to: Kai Wang, for pointing this out Approved by: re (bmah) MFC after: 3 days Notes: svn path=/head/; revision=172248
* Update the table of supported algorithms:Christian Brueffer2007-09-191-9/+10
| | | | | | | | | | | | - Group hash functions together and sort - Add CRYPTO_CAMELLIA_CBC (1) PR: 116471 Submitted by: Philip Schulz <phs@deadc0.de> (1) Approved by: re (blanket) Notes: svn path=/head/; revision=172247
* - Only assume that a PCI device on the same slot is a "neighbor" USBJohn Baldwin2007-09-191-2/+13
| | | | | | | | | | | | | | | controller if it's sole child device has the "usb" device class. Previously ehci(4) would think that PCI-ISA bridges on the same slot (such as in some Intel ICHs) were "neighbors" resulting in spurious warnings about neighbor count mismatches. - Fix a memory leak when looking for neighbors. MFC after: 1 week Approved by: re (kensmith) Tested by: phk Notes: svn path=/head/; revision=172246
* Remove dead code.Olivier Houchard2007-09-191-1/+0
| | | | | | | | Approved by: re (blanket) Beer from: jadawin Notes: svn path=/head/; revision=172245
* Catch up with the demise of /usr/X11R6David E. O'Brien2007-09-191-1/+1
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172244
* Reduce diff to vendor for maintance purposes.David E. O'Brien2007-09-191-5/+6
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172243
* - Fix a small bit slip in PCIM_PCAP_D[0-2]PME defines.Stephane E. Potvin2007-09-191-3/+5
| | | | | | | | | | | - Add the definitions for D3PME_COLD and D3PME_HOT capabilities. Reviewed by: njl (mentor), imp Approved by: re (kensmith) MFC after: 1 week Notes: svn path=/head/; revision=172242
* In the case of a native build, set NATIVE to yes so that the code circuitsThomas Quinot2007-09-191-1/+4
| | | | | | | | | | | | | | that need to be activated specifically for the case of a native linker actually are enabled. Specifically, this makes ld(1) look for shared libraries in LD_LIBRARY_PATH in the native case, as documented in the man page. PR: gnu/96481 Approved by: re (kensmith) MFC after: 2 weeks Notes: svn path=/head/; revision=172241
* Update structure name to follow the new IPsec code.George V. Neville-Neil2007-09-191-1/+1
| | | | | | | | Reported by: phk Approved by: re Notes: svn path=/head/; revision=172240
* Fix a bug that will cause a process that calls the VT_WAITACTIVE ioctlJoe Marcus Clarke2007-09-191-2/+1
| | | | | | | | | | | | | | to become unkillable when that process is sent a termination signal. The process will sit in waitvt looping in the kernel, and chewing up all available CPU until the system is rebooted. Submitted by: Jilles Tjoelker <jilles@stack.nl> Reviewed by: bde Approved by: re (kensmith) MFC after: 1 week Notes: svn path=/head/; revision=172238