summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* As requested by many people, with final prodding from Jason Hall, fix thisnwhitehorn2011-05-182-5/+6
| | | | | | | | | | so that running make release causes make obj to be run before doing anything. This fixes a bug wherein, when run for the first time, and without -DNOSRC, make release would attempt to recursively tar up the src directory including its own output and enter an infinite loop. While here, make the cross-building stuff work a little more the way it should if only one of TARGET/TARGET_ARCH is specified.
* Clean up a loose end from the conversion from gnu ar/ranlib to the BSDimp2011-05-181-2/+4
| | | | | | | | one. Without this, we don't have ar or randlib in the tool path, leading to much pain for some users. This pain is exposed by the external toolchain enhancements that I'm working on. Submitted by: John Hein (ages ago, and dropped on the floor by me: sorry)
* Revert r222069,222068 as they were intended to be committed to theattilio2011-05-182-10/+6
| | | | | | largeSMP branch. Reported by: pluknet
* Fix warning spit out.attilio2011-05-181-4/+7
| | | | Reported by: sbruno
* Fix newly introduced code.attilio2011-05-181-2/+3
| | | | Reported by: sbruno
* Merge part of r221322 from largeSMP project:attilio2011-05-181-43/+27
| | | | | | | Sync XEN support with i386 about the usage of ipi_send_cpu() Tested by: pluknet MFC after: 2 weeks
* usb: fix a missed use of use_generic in r222051avg2011-05-181-4/+5
| | | | | | | Submitted by: gcooper Pointyhat to: avg MFC after: 1 month X-MFC with: r222051
* This isn't needed any longer, it's defined in ah_internal.h.adrian2011-05-181-4/+0
|
* Release allocated memory in procstat_close().pluknet2011-05-181-0/+1
| | | | Reviewed by: stass
* usb: change to one-pass probing of device driversavg2011-05-188-34/+8
| | | | | | | | | | | | | | | | | | | | | This brings USB bus more in line with how newbus is supposed to be used. Also, because of the two-pass probing the following message was produced by devd in default configuration when almost any USB device was connected: Unknown USB device: vendor <> product <> bus <> This should be fixed now. Note that many USB device drivers pass some information from probe method to attach method via ivars. For this to continue working we rely on the fact that the subr_bus code calls probe method of a winning driver again before calling its attach method in the case where multiple drivers claim to support a device. This is done because device description is set in successful probe methods and we want to get a correct device description from a winning driver. So now this logic is re-used for setting ivars too. Reviewed by: hselasky MFC after: 1 month
* Restore old (v15) behaviour for a recursive snapshot destroy.mm2011-05-181-0/+6
| | | | | | | | | | | | | | (zfs destroy -r pool/dataset@snapshot) To destroy all descendent snapshots with the same name the top level snapshot was not required to exist. So if the top level snapshot does not exist, check permissions of the parent dataset instead. Filed as Illumos Bug #1043 Reviewed by: delphij Approved by: pjd MFC after: together with v28
* Modify the sample rate control algorithm to only select/sample HTadrian2011-05-181-8/+26
| | | | rates for HT nodes.
* Update CPUID bits to reflect AMD Bulldozer and Intel Sandy Bridge features.jkim2011-05-174-56/+75
| | | | | | | | | Note AMD dropped SSE5 extensions in order to avoid ISA overlap with Intel AVX instructions. The SSE5 bit was recycled as XOP extended instruction bit, CVT16 was deprecated in favor of F16C (half-precision float conversion instructions for AVX), and the remaining FMA4 (4-operand FMA instructions) gained a separate CPUID bit. Replace non-existent references with today's CPUID specifications.
* Remove an unused typedef.attilio2011-05-171-1/+0
| | | | Tested by: sbruno, pluknet
* Merge r221285 from largeSMP project:attilio2011-05-171-31/+7
| | | | | | | | | | | | | | | | - Remove the following sysctl: kern.sched.ipiwakeup.onecpu kern.sched.ipiwakeup.htt2 Because they are absolutely obsolete. Probabilly the whole wakeup forward mechanism should be revisited for a better fitting in modern hw, in the future. - As map2 variable is no longer used rename map3 to map2 - Fix a string by making more informative the msg and removing the arguments passing. Reviewed by: julian Tested by: several
* Add support for "LED" enclosure management messages, defined by the AHCI.mav2011-05-173-1/+102
| | | | | | | | | When supported by hardware, this allows to control per-port activity, locate and fault LEDs via the led(4) API for localization and status reporting purposes. Supporting AHCI controllers may transmit that information to the backplane controllers via SGPIO interface. Backplane controllers interpret received statuses in some way (IBPI standard) to report them using present indicators.
* mq_setattr(2): Add missing const to man page.jilles2011-05-171-2/+2
| | | | | | The declaration in the header file is correct. MFC after: 1 week
* Ok, so we use different comment conventions in Symbol.map and Version.defphk2011-05-171-3/+1
| | | | "#notimpressed" as my twittering friends would say.
* Backout libinstall.a -> libpkg commit.flz2011-05-1743-251/+211
| | | | Discussed with: erwin, brooks, bapt
* Try to explain what sbufs do and add an example to show it.phk2011-05-171-9/+36
| | | | Clarify return values.
* Bump shlib versionphk2011-05-173-3/+38
| | | | | Instigate symbol versioning Pray that I don't break the build.
* Fix a race in the SMP rendezvous code. Specifically, the write by thejhb2011-05-171-15/+48
| | | | | | | | | | | | | | | | | | | last CPU to to finish the rendezvous action may become visible to different CPUs at different times. As a result, the CPU that initiated the rendezvous may exit the rendezvous and drop the lock allowing another rendezvous to be initiated on the same CPU or a different CPU. In that case the exit sentinel may be cleared before all CPUs have noticed causing those CPUs to hang forever. Workaround this by using a generation count to notice when this race occurs and to exit the rendezvous in that case. The problem was independently diagnosted by mlaier@ and avg@ as well. Submitted by: neel Reviewed by: avg, mlaier Obtained from: NetApp MFC after: 1 week
* Fix the debugging code path to correctly support HAL_DEBUG_UNMASKABLE.adrian2011-05-171-1/+5
|
* Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO.tuexen2011-05-171-0/+1
| | | | MFC after: 1 week.
* Fix whitespacing.tuexen2011-05-171-23/+23
| | | | | | Reported by scf@ MFC after: 1 week.
* Fix case, introduced in my previous commit.adrian2011-05-171-1/+1
| | | | | Pointy hat goes to: adrian, for having multiple build screens open and checking the wrong one.
* Fix manual section number for netstat(1).pluknet2011-05-171-2/+2
| | | | MFC after: 5 days
* mdoc:pluknet2011-05-171-2/+2
| | | | | - use a proper macro for interface name ipfw0. - add missing section number for bpf cross reference.
* Use the halMcastKeySrchSupport capability bit to selectively enable/disableadrian2011-05-171-1/+1
| | | | | | | | | the multicast key search support for AR5212, AR5416 and later. The general HAL routine ath_hal_getcapability() implement checking this but it's overridden by a check in ar5212_misc:ar5212GetCapability(). This restores the later functionality in case it's found to be broken in any of the 11n chipsets.
* Set this HAL capabilities flag correctly even though it isn't currentlyadrian2011-05-171-1/+1
| | | | being used.
* Document the supported hardware, somewhat.ru2011-05-171-1/+8
| | | | | Reviewed by: hselasky MFC after: 3 days
* Renamed PCI_INTERFACE_XHCI to PCIP_SERIALBUS_USB_XHCI and moved itru2011-05-173-2/+2
| | | | | | | to <dev/pci/pcireg.h>. Reviewed by: hselasky MFC after: 3 days
* Regen for WITH_OFED.ru2011-05-171-1/+6
|
* Added description for WITH_OFED.ru2011-05-171-0/+4
|
* Use memset() instead of bzero() and memcpy() instead of bcopy(), therephk2011-05-171-26/+43
| | | | | | | | | | | | | is no relevant difference for sbufs, and it increases portability of the source code. Split the actual initialization of the sbuf into a separate local function, so that certain static code checkers can understand what sbuf_new() does, thus eliminating on silly annoyance of MISRA compliance testing. Contributed by: An anonymous company in the last business I expected sbufs to invade.
* Revert change to "MF" I made in r189767. I bet that at the time of r189767ru2011-05-171-1/+1
| | | | | | | | I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm and "MF" was officially spelled in English as "Saint Martin" there, but now that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English" spelling!) they seem to have added a "(French part)" suffix to "MF". Since this is also in line with Newsletter VI-1 (2007-09-21), catch up.
* Add missing section number for .Xr jail.pluknet2011-05-171-1/+1
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud