summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a lock flags argument to the VFS_FHTOVP() file systemrmacklem2011-05-2222-29/+43
| | | | | | | | | | | method, so that callers can indicate the minimum vnode locking requirement. This will allow some file systems to choose to return a LK_SHARED locked vnode when LK_SHARED is specified for the flags argument. This patch only adds the flag. It does not change any file system to use it and all callers specify LK_EXCLUSIVE, so file system semantics are not changed. Reviewed by: kib
* sh: Expand aliases after assignments and redirections.jilles2011-05-216-12/+39
|
* Recognize HIO_FLUSH requests.pjd2011-05-211-0/+1
| | | | MFC after: 1 week
* 1. Prior to r214782, UMA did not support multipage allocations beforealc2011-05-212-8/+9
| | | | | | | | | | | | | | | | | | | | | | | uma_startup2() was called. Thus, setting the variable "booted" to true in uma_startup() was ok on machines with UMA_MD_SMALL_ALLOC defined, because any allocations made after uma_startup() but before uma_startup2() could be satisfied by uma_small_alloc(). Now, however, some multipage allocations are necessary before uma_startup2() just to allocate zone structures on machines with a large number of processors. Thus, a Boolean can no longer effectively describe the state of the UMA allocator. Instead, make "booted" have three values to describe how far initialization has progressed. This allows multipage allocations to continue using startup_alloc() until uma_startup2(), but single-page allocations may begin using uma_small_alloc() after uma_startup(). 2. With the aforementioned change, only a modest increase in boot pages is necessary to boot UMA on a large number of processors. 3. Retire UMA_MD_SMALL_ALLOC_NEEDS_VM. It has only been used between r182028 and r204128. Reviewed by: attilio [1], nwhitehorn [3] Tested by: sbruno
* Fix typo, it is MPDU not MDPU.bschmidt2011-05-211-1/+1
|
* Fix a typo, it is MPDU not MDPU.bschmidt2011-05-211-1/+1
|
* sh: Add test for positional parameters with more than one digit.jilles2011-05-211-0/+13
| | | | This also passes on stable/8.
* The Merlin analog register bank is from 0x7800 -> 0x78fc; fix the codeadrian2011-05-212-2/+2
| | | | to reflect this.
* sh: Implement the cd -e flag proposed for the next POSIX issue.jilles2011-05-204-10/+87
| | | | | | | | | This reflects failure to determine the pathname of the new directory in the exit status (1). Normally, cd returns successfully if it did chdir() and the call was successful. In POSIX, -e only has meaning with -P; because our -L is not entirely compliant and may fall back to -P mode, -e has some effect with -L as well.
* Add a new knob to atkbd(4) to enable typematic rate detection on boot,delphij2011-05-203-1/+10
| | | | | | | | | which is now disabled by default. The detection is known to cause hangs on boot with some new Lenovo laptops on FreeBSD/amd64. Reported by: gnn Discussed with: jkim MFC after: 3 months
* The statically configured (permanent) ARP entries are removed when anqingli2011-05-206-24/+47
| | | | | | | | | | interface is brought down, even though the interface address is still valid. This patch maintains the permanent ARP entries as long as the interface address (having the same prefix as that of the ARP entries) is valid. Reviewed by: delphij MFC after: 5 days
* Datasheet says vge(4) controllers support DAC but it seems that'syongari2011-05-201-2/+17
| | | | | | | | | | | | not true on old PCI based controllers. DAC configuration is read from EEPROM in device reset phase and driver can override DAC configuration. However I guess there is an undocumented reason why EEPROM configuration does not enable DAC so do not blindly override DAC configuration. Recent PCIe based controllers are supposed to support 64bit DMA so allow 64bit DMA only on PCIe based controllers. PR: kern/157184 MFC after: 1 week
* - add missing options and arguments to program's usage()ru2011-05-202-23/+29
| | | | | | | | and sync it with manpage's SYNOPSIS - generally clean up a manpage's formatting Reviewed by: edwin
* Fix spelling errors.alc2011-05-201-3/+3
|
* Add missing header file.pluknet2011-05-201-0/+1
| | | | MFC after: 1 week
* Remove unnecessary controller reinitialization by checkingyongari2011-05-201-1/+8
| | | | | | | | IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialized controller and it resulted in unnecessary link flips. Reviewed by: marius
* sh: Allow terminating a heredoc with a terminator at EOF without a newline.jilles2011-05-202-3/+31
| | | | | | | | | | | | | | | | | | | | | | This is sometimes used with eval or old-style command substitution, and most shells other than ash derivatives allow it. It can also be used with scripts that violate POSIX's requirement on the application that they end in a newline (scripts must be text files except that line length is unlimited). Example: v=`cat <<EOF foo EOF` echo $v This commit does not add support for the similar construct with new-style command substitution, like v=$(cat <<EOF foo EOF) This continues to require a newline after the terminator.
* Eliminate a redundant #include. ("vm/vm_param.h" already includesalc2011-05-201-2/+0
| | | | "machine/vmparam.h".)
* Spelling in P_HADTHREADS.pluknet2011-05-201-1/+1
| | | | MFC after: 1 week
* Fix the description of the "paddr" keyword. It shows a processpluknet2011-05-201-1/+1
| | | | | | pointer just like a dublicating "uprocp". MFC after: 1 week
* Correct typos in comments, no functional changes.bcr2011-05-203-8/+8
| | | | | | Found by: codespell Reviewed by: kaiw MFC after: 1 week
* Document IPv6 support.pjd2011-05-201-8/+22
| | | | MFC after: 3 weeks
* If no listen address is specified, bind by default to:pjd2011-05-201-2/+0
| | | | | | | tcp4://0.0.0.0:8457 tcp6://[::]:8457 MFC after: 3 weeks
* Rename ipv4/ipv6 to tcp4/tcp6.pjd2011-05-202-10/+10
| | | | MFC after: 3 weeks
* Now that hell is fully frozen it is good time to add IPv6 support to HAST.pjd2011-05-201-75/+116
| | | | MFC after: 3 weeks
* Allow [ ] characters in strings. They might be used in IPv6 addresses.pjd2011-05-201-1/+1
| | | | MFC after: 3 weeks
* Rename tcp4 to tcp in preparation for IPv6 support.pjd2011-05-202-93/+93
| | | | MFC after: 3 weeks
* Rename proto_tcp4.c to proto_tcp.c in preparation for IPv6 support.pjd2011-05-202-1/+1
| | | | MFC after: 2 weeks
* In preparation for IPv6 support allow to specify multiple addresses topjd2011-05-194-68/+215
| | | | | | listen on. MFC after: 3 weeks
* Fix typo.yongari2011-05-192-4/+4
| | | | Submitted by: brad at OpenBSD
* Fix typos in comments, no functional changes.bcr2011-05-198-8/+8
| | | | | | Found by: codespell Reviewed by: alfred MFC after: 1 week
* Simplify t4_os_find_pci_capability.np2011-05-191-35/+2
| | | | MFC after: 3 days
* Style fixes:jhb2011-05-191-14/+14
| | | | | - Sort forward declarations of structures. - Prefer uint64_t to u_int64_t.
* Fix clang warnings.benl2011-05-194-15/+19
| | | | Approved by: philip (mentor)
* When adding examples to man-pages, try to make them at leastphk2011-05-191-5/+5
| | | | | | look like they might work. Prodded by: Vadim Goncharov
* Put AN back after finding out that tzsetup(1) will complain thatedwin2011-05-191-0/+1
| | | | | it doesn't exist. It will be removed again once the tzdata distribution files have been updated with the replacements for AN.
* Add support for the SIIG Cyber 2S PCIe adapter. It is based on anjhb2011-05-191-0/+6
| | | | | | | | | Oxford Semiconductor OX16PCI954 but uses only two ports with a non-default clock rate. PR: kern/152034 Tested by: Hans Fiedler hans of hermes louisville edu MFC after: 1 week
* Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained controlimp2011-05-195-4/+31
| | | | | | | over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@
* - Add support for AF_INET6 sockets for %S format character.pjd2011-05-181-7/+26
| | | | | | | | - Use inet_ntop(3) instead of reimplementing it. - Use %hhu for unsigned char instead of casting it to unsigned int and using %u. MFC after: 1 week
* The CDP_ACTIVE flag is cleared at the beginning of destroy_devl(),kib2011-05-181-1/+2
| | | | | | | | | and destroy_devl() drops dev_mtx. The protection against the race with dev_rel(), introduced in r163328, should be extended to cover destroy_devl() calls for the children of the destroyed dev. Reported and tested by: joerg MFC after: 1 week
* - Enable per-channel congestion notification.np2011-05-182-8/+25
| | | | | | - Enable PCIe relaxed ordering for all egress queues and rx data buffers. MFC after: 3 days
* Fix clang warnings.benl2011-05-183-27/+25
| | | | Approved by: philip (mentor)
* Fix clang warnings.benl2011-05-185-7/+9
| | | | | | | Note: possible minor security issues fixed (untrusted string used as printf format string). Approved by: philip (mentor)
* Fix clang warnings.benl2011-05-181-2/+2
| | | | Approved by: philip (mentor)
* Fix clang warning (why is there nowhere yyparse() is declared?).benl2011-05-181-0/+1
| | | | Approved by: philip (mentor)
* Fix clang warnings.benl2011-05-183-4/+4
| | | | | | Note: these were actually bugs (printf with no format string). Approved by: philip (mentor)
* Wipeout the end of disks, home to things like gmirror metadata, backup GPT ↵jpaetzel2011-05-181-10/+2
| | | | | | | | | | tables, and other potential evil. Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* Extracting optional components requires mounting devfsjpaetzel2011-05-181-0/+2
| | | | | | Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* Unbreak INET-less build.tuexen2011-05-181-1/+1
| | | | | Reported by bz@ MFC after: 1 week
* Add a sanity check for the existence of an "addr" optionrmacklem2011-05-182-7/+17
| | | | | | | | | | to both NFS clients. This avoids the crash reported by Sergey Kandaurov (pluknet@gmail.com) to the freebsd-fs@ list with subject "[old nfsclient] different nmount() args passed from mount vs mount_nfs" dated May 17, 2011. Tested by: pluknet at gmail.com (old nfs client) MFC after: 2 weeks
OpenPOWER on IntegriCloud