aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.Justin Hibbits2012-11-0723-5/+1365
| | | | | | | | | | | | | | There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month Notes: svn path=/head/; revision=242723
* Sort option parsing as far as practical.Greg Lehey2012-11-071-41/+42
| | | | Notes: svn path=/head/; revision=242722
* sh: Test that a redefined alias works.Jilles Tjoelker2012-11-071-0/+6
| | | | Notes: svn path=/head/; revision=242721
* Use information about suported diagnostic pages to avoid reading optionalAlexander Motin2012-11-071-2/+7
| | | | | | | | | | Element Descriptor page if it is not supported. This removes one error message from verbose logs during boot on systems with some enclosures. Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=242720
* Announce diagnostic page 7 (Element Descriptor) support.Alexander Motin2012-11-071-1/+2
| | | | Notes: svn path=/head/; revision=242719
* Hint miibus to attach arswitch on AP91, AP93 and RSPRO boards.Aleksandr Rybalko2012-11-073-0/+3
| | | | | | | | Submitted by: Luiz Otavio O Souza Approved by: adrian (menthor) Notes: svn path=/head/; revision=242718
* For kernel builds with PROFLEVEL >= 2, such as LINT, don't attempt toDimitry Andric2012-11-071-2/+5
| | | | | | | | | | use the -mprofiler-epilogue option if the compiler is clang, as the flag is not supported. While here, fix up the value indentations. MFC after: 1 week Notes: svn path=/head/; revision=242717
* Disable automatic attachment of arswitch. It can't be auto-detected (like PHYsAleksandr Rybalko2012-11-071-11/+0
| | | | | | | | | | do) and cause a problems trying to attach another instance to child mdio. Submitted by: Luiz Otavio O Souza Approved by: adrian (menthor) Notes: svn path=/head/; revision=242716
* For kernel builds with PROFLEVEL >= 1, such as LINT, don't attempt toDimitry Andric2012-11-071-1/+4
| | | | | | | | | | use the -falign-functions option if the compiler is clang, as the flag is not supported. MFC after: 1 week Notes: svn path=/head/; revision=242715
* Add per outgoing stream accounting for chunks in the sendMichael Tuexen2012-11-076-5/+55
| | | | | | | | | | | and sent queue. This provides no functional change, but is a preparation for an upcoming stream reset improvement. Done with rrs@. MFC after: 1 week Notes: svn path=/head/; revision=242714
* Simple unit-tests for libcrypt, to show how easy it is.Simon J. Gerraty2012-11-072-0/+64
| | | | | | | Approved by: marcel (mentor) Notes: svn path=/head/; revision=242713
* Add ATF and reformat to ease reviewsSimon J. Gerraty2012-11-071-13/+43
| | | | | | | Approved by: marcel (mentor) Notes: svn path=/head/; revision=242712
* Enable ATF testing.Simon J. Gerraty2012-11-073-0/+232
| | | | | | | | Submitted by: Garrett Cooper Approved by: marcel (mentor) Notes: svn path=/head/; revision=242711
* Latest progs.mk from crufty.net for ATFSimon J. Gerraty2012-11-071-329/+67
| | | | | | | Approved by: marcel (mentor) Notes: svn path=/head/; revision=242710
* Add some missing changes missed in the last commit.Michael Tuexen2012-11-072-4/+7
| | | | | | | | MFC after: 1 week X-MFC with: 242708 Notes: svn path=/head/; revision=242709
* Improve PR-SCTP if used in combination with NR-SACK.Michael Tuexen2012-11-072-2/+6
| | | | | | | | | Based on work done by Mohammad Rajiullah. MFC after: 1 week Notes: svn path=/head/; revision=242708
* Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has beenDimitry Andric2012-11-071-0/+2
| | | | | | | | | done for g++. MFC after: 3 days Notes: svn path=/head/; revision=242707
* Put in a band-aid to get the pc98 bootstraps building, now clang is theDimitry Andric2012-11-072-1/+5
| | | | | | | | | | | | | | | default compiler. This has two parts: - Make sys/boot/pc98/boot2 always build with gcc for now, until we can figure out a way to shrink it enough when building with clang. - Since sys/boot/p98/cdboot uses .code16 directives, which are not yet supported by clang's integrated assembler, use -no-integrated-as, similar to sys/boot/i386/cdboot. Reviewed by: nyan MFC after: 1 week Notes: svn path=/head/; revision=242706
* Actually change "silent" to "silence" this time (reviewed by adri@).Warren Block2012-11-071-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=242705
* Remove fifteen-year-old notes on media selection (suggested by simon@).Warren Block2012-11-071-20/+17
| | | | | | | | | | Add commas after "e.g." and "i.e.". Change "silent" to "silence" in wireless create section (reviewed by adri@). MFC after: 1 week Notes: svn path=/head/; revision=242704
* Add lock asserts instead of "auto-locking".Hans Petter Selasky2012-11-071-9/+2
| | | | | | | | MFC after: 1 weeks Suggested by: ed @ Notes: svn path=/head/; revision=242703
* The tty_inwakeup callback appears to be called both locked and unlocked.Hans Petter Selasky2012-11-071-3/+9
| | | | | | | | | Handle the required locking automatically for now. MFC after: 1 weeks Notes: svn path=/head/; revision=242702
* Minor cosmetic changes to bring atmel's initarm and the defaultWarner Losh2012-11-072-17/+14
| | | | | | | initarm for FDT closer together. More to follow. Notes: svn path=/head/; revision=242700
* Don't compile in my (not yet committed) ath_alq code unless ATH_DEBUG_ALQAdrian Chadd2012-11-071-3/+3
| | | | | | | | | is defined. This will unbreak ATH_DEBUG builds. Notes: svn path=/head/; revision=242698
* Add devd.conf(5) and devd(8) to SEE ALSO xrefs. Give users a pointer toWarren Block2012-11-071-1/+3
| | | | | | | | | | | | seemingly mysterious actions that are not done by ifconfig itself, but by devd triggering on events caused by ifconfig. PR: docs/173405 Submitted by: Mateusz Kwiatkowski <mateusz.kwiatkowski@atlashost.eu> MFC after: 1 week Notes: svn path=/head/; revision=242697
* Document all of the options that wpa_supplicant accepts.Isabell Long2012-11-071-21/+50
| | | | | | | | | | PR: docs/171755 Reviewed by: gavin Approved by: gabor (mentor) MFC after: 5 days Notes: svn path=/head/; revision=242696
* Patch to improve USB serial console.Hans Petter Selasky2012-11-071-10/+12
| | | | | | | | MFC after: 1 weeks Submitted by: Bruce Evans Notes: svn path=/head/; revision=242695
* Merge rev. 1.125 from OpenBSD:Gleb Smirnoff2012-11-071-68/+57
| | | | | | | | | | | | | | date: 2009/06/12 02:03:51; author: dlg; state: Exp; lines: +59 -69 rewrite the way states from pfsync are merged into the local state tree and the conditions on which pfsync will notify its peers on a stale update. each side (ie, the sending and receiving side) of the state update is compared separately. any side that is further along than the local state tree is merged. if any side is further along in the local state table, an update is sent out telling the peers about it. Notes: svn path=/head/; revision=242694
* It may happen that pfsync holds the last reference on a state. In thisGleb Smirnoff2012-11-071-0/+10
| | | | | | | | | | | | | | | | case keys had already been freed. If encountering such state, then just release last reference. Not sure this can happen as a runtime race, but can be reproduced by the following scenario: - enable pfsync - disable pfsync - wait some time - enable pfsync Notes: svn path=/head/; revision=242693
* Fix typo; s/ouput/outputKevin Lo2012-11-078-8/+8
| | | | Notes: svn path=/head/; revision=242692
* Nm ipsecKevin Lo2012-11-071-1/+1
| | | | Notes: svn path=/head/; revision=242691
* Disable my software queue TIM and PS handling for now.Adrian Chadd2012-11-071-0/+37
| | | | | | | | | | ps-poll is totally broken in its current form. This should unbreak things enough to let people use PS-POLL devices, but leave it in place for me to finish PS-POLL handling. Notes: svn path=/head/; revision=242690
* Add new HAL configuration features for the updated AR9300 HAL.Adrian Chadd2012-11-073-1/+7
| | | | Notes: svn path=/head/; revision=242689
* Hook in new files menusets.4th and manual.Devin Teske2012-11-077-6/+7
| | | | | | | Approved by: adrian (co-mentor) (implicit) Notes: svn path=/head/; revision=242688
* Remove -L<path> from LDADD, it doesn't belong there.Marcel Moolenaar2012-11-071-1/+3
| | | | | | | | | Add it to LDFLAGS instead. Submitted by: Garrett Cooper <yanegomi@gmail.com> Notes: svn path=/head/; revision=242684
* The first line must contain "Content-Type:". Move the $FreeBSD$Marcel Moolenaar2012-11-072-2/+2
| | | | | | | | | keyword line to the comment block underneath. Submitted by: Garrett Cooper <yanegomi@gmail.com> Notes: svn path=/head/; revision=242683
* - Extend the prior commit to use the generic SCSI command buildingDoug Ambrisko2012-11-066-198/+231
| | | | | | | | | | | | | | | | | | | | | | | | | function use that for JBOD and Thunderbolt disk write command. Now we only have one implementation in mfi. - Fix dumping on Thunderbolt cards. Polled IO commands do not seem to be normally acknowledged by changing cmd_status to MFI_STAT_OK. In order to get acknowledgement of the IO is complete, the Thunderbolt command queue needs to be run through. I added a flag MFI_CMD_SCSI to indicate this command is being polled and to complete the Thunderbolt wrapper and indicate the result. This flag needs to be set in the JBOD case in case if that us using Thunderbolt card. When in the polling loop check for completed commands. - Remove mfi_tbolt_is_ldio and just do the check when needed. - Fix an issue when attaching of disk device happens when a device is already scheduled to be attached but hasn't attached. - add a tunable to allow raw disk attachment to CAM via: hw.mfi.allow_cam_disk_passthrough=1 - fixup aborting of commands (AEN and LD state change). Use a generic abort function and only wait the command being aborted not both. Thunderbolt cards don't seem to abort commands so the abort times out. Notes: svn path=/head/; revision=242681
* Fix possible spurious sbunlock in sctp_sorecvmsg.Mateusz Guzik2012-11-061-1/+1
| | | | | | | | | Reviewed by: tuexen Approved by: trasz (mentor) MFC after: 3 days Notes: svn path=/head/; revision=242680
* Work around a race in bpfread() by validating the hold buffer pointerGuy Helmer2012-11-061-4/+7
| | | | | | | | before freeing it. Otherwise, we can lose a buffer and cause a panic in catchpacket(). Notes: svn path=/head/; revision=242673
* Make sure the inp hasn't been dropped before trying to access its socketNavdeep Parhar2012-11-061-6/+10
| | | | | | | | | and tcpcb. MFC after: 3 days Notes: svn path=/head/; revision=242671
* Fix funny comment.Devin Teske2012-11-061-1/+1
| | | | | | | Approved by: adrian (co-mentor) (implicit) Notes: svn path=/head/; revision=242669
* Fix c/p error in comment.Devin Teske2012-11-061-1/+1
| | | | | | | Approved by: adrian (co-mentor) (implicit) Notes: svn path=/head/; revision=242668
* Add ontop of my existing boot loader Forth code, including support forDevin Teske2012-11-065-2/+1016
| | | | | | | | | | | | | | | submenus. See menusets.4th(8) for additional details including examples. Discussed on arch and recommended for inclusion at the devsummit. This change does not alter the appearance or user experience, only enhances possibilities. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) Notes: svn path=/head/; revision=242667
* Remove the tid from the software table (and bump down the in-useNavdeep Parhar2012-11-061-0/+1
| | | | | | | | | | | counter) when the syncache doesn't want the driver to reply to an incoming SYN. This fixes a harmless bug where tids_in_use would go out of sync with the hardware counter. MFC after: 3 days Notes: svn path=/head/; revision=242666
* Fix typo in bsd.compiler.mk.Dimitry Andric2012-11-061-1/+1
| | | | Notes: svn path=/head/; revision=242658
* Convert the aggregate descriptor path over to use the same API asAdrian Chadd2012-11-061-108/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the non-aggregate path. I "cheated" by using some TX setup code in our HAL that isn't present in the atheros HAL (or Linux ath9k.) The old path for forming aggregates was: * setup the rate control in the first descriptor; * call chaintxdesc() on all the frames; * call setupfirsttxdesc() on the first descrpitor in the first frame; * call setuplasttxdesc() on the last descriptor in the last frame. The new path for forming aggregates looks like the non-aggregate path: * call setuptxdesc() on the first descriptor in the first frame; * setup the rate control in the first descriptor; * call filltxdesc() on each descriptor in the frame; * if it's an aggregate - call set11n_aggr_{first, middle, last} as appropriate (see the code for a description of what is "appropriate".) Now, this is done primarily for the AR9300 HAL - it doesn't implement the first set of aggregate functions. It just has the older methods and the "first/middle/last" aggregate methods. So, let's convert the code to use these. Note: the AR5416 HAL in FreeBSD had that code (from me, a while ago) and a previous commit brought it up to behave the same as the AR9300 HAL routines. There's some further tidyups to be done - specifically, avoid doing multiple calls to the 11n descriptor functions. I shouldn't call clr11n_aggr(), then set11n_aggr_middle(), then also set11n_aggr_first(). On (at least MIPS) the TX descriptors are in non-cachable memory and this will cause multiple slow writes. I'll debug/tidy that up in a future commit. Tested: * AR9280, STA * AR9280/AR9160, AP * AR9380, STA (using a local, closed source HAL, sorry!) Notes: svn path=/head/; revision=242656
* export VM_MIN_KERNEL_ADDRESS and VM_MAX_KERNEL_ADDRESS via sysctl.Alfred Perlstein2012-11-061-0/+8
| | | | | | | | On several platforms the are determined by too many nested #defines to be easily discernible. This will aid in development of auto-tuning. Notes: svn path=/head/; revision=242655
* Decode common state bits in getencstat output.Alexander Motin2012-11-061-2/+6
| | | | Notes: svn path=/head/; revision=242647
* Add myself as a new src committerBryan Venteicher2012-11-061-0/+3
| | | | | | | Approved by: grehan (mentor) Notes: svn path=/head/; revision=242639
* Add -c option to sesd to make it clear enclosure status after reading itAlexander Motin2012-11-062-22/+38
| | | | | | | in case if it is not permanent and was fixed. Notes: svn path=/head/; revision=242638