summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix get_program_var_addr() when type of the resolved symbol is functional.kib2011-01-251-1/+6
| | | | | | Use make_function_pointer then, otherwise ia64 is broken. Reported and tested by: marcel
* sh: Clean up some old comments:jilles2011-01-251-6/+3
| | | | | | | | | * There is no plan for an alternative to the command "set". * Attempting to unset a readonly variable has not raised an error for quite a while, so the order of unsetting a variable and a function with the same name does not matter. MFC after: 1 week
* Do not allocate buffer to hold data for zero-sized sections.kan2011-01-251-1/+3
|
* Disable TSO for all Realtek controllers. Experimentation showedyongari2011-01-251-7/+5
| | | | | | | | RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it.
* Use test(1) operators and test for the catpage not being older than theuqs2011-01-251-2/+2
| | | | | | | | | manpage. Identical mtimes (as generated by buildworld for these files) precluded catpages from working. Approved by: gordon
* Document sbuf_new_for_sysctl(9).mdf2011-01-252-1/+15
| | | | Pointed out by: lstewart
* When matching an incoming ARP against a bridge, ensure both interfaces belongthompsa2011-01-251-2/+2
| | | | | | to the same bridge. Submitted by: Alexander Zagrebin
* Remove DOS-style EOLssem2011-01-251-11/+11
| | | | Approved by: kib
* When vtruncbuf() iterates over the vnode buffer list, lock buffer objectkib2011-01-251-2/+5
| | | | | | | | | before checking the validity of the next buffer pointer. Otherwise, the buffer might be reclaimed after the check, causing iteration to run into wrong buffer. Reported and tested by: pho MFC after: 1 week
* Bio shall not be accessed after g_io_deliver(9).kib2011-01-251-1/+1
| | | | | | Reported and tested by: pho Reviewed by: ae, phk MFC after: 1 week
* Fix logic error introduced in previous commit.jpaetzel2011-01-251-4/+10
| | | | | | | | Along the way make some efficiency improvements. Submitted by: jilles Approved by: kib (mentor) MFC after: 3 days
* Document P_FOLLOWFORK.kib2011-01-251-0/+1
| | | | MFC after: 2 weeks
* Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid.kib2011-01-251-5/+40
| | | | MFC after: 2 weeks
* Allow debugger to specify that children of the traced process should bekib2011-01-257-15/+98
| | | | | | | | automatically traced. Extend the ptrace(PL_LWPINFO) to report that child just forked. Reviewed by: davidxu, jhb MFC after: 2 weeks
* Back out r217734. [1]bz2011-01-252-3/+10
| | | | | | | | | Properly document what `make targets` is supposed to list to avoid further confusion given the place the target sits. Should have happened with r217125. Requested by: imp [1] Reviewed by: rwatson
* * Re-format the v4k header to be consistentadrian2011-01-251-25/+29
| | | | | | | * Re-do the structure size/component math to make sure the struct matches the expected size * Just to be clear that we care about bitmask ordering, revert my previous change and instead define that macro if we're on big-endian.
* Bring over a fix from ath9k - zero some of the TX descriptors for Kite/AR9285.adrian2011-01-251-0/+14
| | | | | Kite doesn't have per-chain control (it has one chain) or antenna control; so don't try to set those descriptor entries.
* Rename this linux-ism __BIG_ENDIAN_BITFIELD macro to something suitable for ↵adrian2011-01-251-3/+3
| | | | | | FreeBSD. Warner has pointed out that FreeBSD's bit orders follow byte orders.
* Commit updated AR9285 (Kite) v2 initvals from ath9k.adrian2011-01-251-14/+103
|
* Fix this tool to use the updated (corrected) v4k eeprom definition ↵adrian2011-01-251-7/+20
| | | | introduced in a previous commit.
* Fix the Atheros V4K EEPROM definitions to match those in ath9k.adrian2011-01-252-23/+38
| | | | | | | | | | | | | It turns out that the V4K eeprom definitions (used by the AR9285 and its derivatives) is wrong. These values are at least causing issues on my AR2427. With this fix (and initvals in a subsequent commit), the AR2427 behaves a lot better. Note - there's still significant drift between the ath9k v4k eeprom init code (again, used by AR9285 and derivatives) and what's in this tree. That needs to be investigated and resolved.
* Supply maximum value as an argument to the decimal() functionsobomax2011-01-251-27/+27
| | | | | | instead of supplying number of bits. Submitted by: bde
* Import the ERTT (Enhanced Round Trip Time) Khelp module. ERTT uses thelstewart2011-01-244-1/+644
| | | | | | | | | | | | | | | | Khelp/Hhook KPIs to hook into the TCP stack and maintain a per-connection, low noise estimate of the instantaneous RTT. ERTT's implementation is robust even in the face of delayed acknowledgements and/or TSO being in use for a connection. A high quality, low noise RTT estimate is a requirement for applications such as delay-based congestion control, for which we will be importing some algorithm implementations shortly. In collaboration with: David Hayes <dahayes at swin edu au> and Grenville Armitage <garmitage at swin edu au> Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way MFC after: 3 months
* Fix a LOR by dropping the global ifnet locks while allocating a new ifnetjhb2011-01-241-6/+20
| | | | | | | | table in if_grow(). The order of the SYSINIT's for ifnet state were swapped so that the various locks were initialized before being used. Reviewed by: pluknet, bz MFC after: 2 weeks
* In uart_tty_outwakeup(), check CTS/RTS flow control settings andmarcel2011-01-241-5/+10
| | | | | | | | | | | prevent sending data when CTS is de-asserted. In uart_tty_intr(), call uart_tty_outwakeup() when the CTS signal changed, knowing that uart_tty_outwakeup() will do the right thing for flow control. This avoids redundant conditionals. PR: kern/148644 Submitted by: John Wehle <john@feith.com> MFC after: 3 days
* Reinitialize driver when MTU is changed and driver is running.yongari2011-01-241-1/+3
| | | | Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com )
* Add more sanity checks for USB_HOST_ALIGN input values. Re-factor existinghselasky2011-01-241-3/+6
| | | | | | checks for readability. Approved by: thompsa (mentor)
* Replace spaces with tabs.jh2011-01-241-2/+2
|
* Remove an invalid register setup; this is likely a holdover fromadrian2011-01-241-3/+0
| | | | | the AR5212 code. It doesn't exist in ath9k and I've been told it doesn't exist in the Atheros internal driver.
* Add missing section number for .Xr rc.gjb2011-01-241-1/+1
| | | | | Pointed out by: keramida Approved by: keramida (mentor)
* Don't open configuration file from worker process. Handle SIGHUP in thepjd2011-01-245-58/+83
| | | | | | | | master process only and pass changes to the worker processes over control socket. This removes access to global namespace in preparation for capsicum sandboxing. MFC after: 2 weeks
* Added a blurb about thin provisioning, fixed some formatting.ivoras2011-01-241-2/+6
|
* libkvm: Unbreak build for powerpc64/powerpcuqs2011-01-241-0/+1
| | | | | This slipped through my testing due to the recent roto-tiling of the ARCH/TARGET parts that I need to catch up with. Mea culpa.
* While printing out the WSID and CPU ID only the first time it appears forrwatson2011-01-241-8/+2
| | | | | | | | | | each workstream, rather than on every protocol, is prettier, it makes machine-parsing of netstat -Q output a lot harder. Repeat the information and hope that the user forgives us slightly dense formatting. MFC after: 3 days Reported by: bz Sponsored by: Juniper Networks
* Fix off-by-one whitespace error in netstat -Q workstream listing.rwatson2011-01-241-4/+4
| | | | | | Reported by: bz MFC after: 3 days Sponsored by: Juniper Networks
* ICH7 SATA controller in legacy mode can provide access to SATA registersmav2011-01-241-14/+104
| | | | | | | | via AHCI-like memory resource at BAR(5). Use it if BIOS was so kind to allocate memory for that BAR. This allows hot-plug support and connection speed reporting. MFC after: 2 weeks
* Add build infrastructure for Khelp modules.lstewart2011-01-242-0/+6
| | | | | | Sponsored by: FreeBSD Foundation Reviewed by: bz MFC after: 3 months
* Undo a local option which mistakenly crept into a commit.adrian2011-01-241-1/+0
|
* o Cylinder numbers are 10 bits in the MBR;sobomax2011-01-241-19/+19
| | | | | | | | o Sector numbers are only 6 bits in the MBR; o bde'cize name of the local variable. Submitted by: bde
* Add a simple tool to print the contents of a v4k EEPROM dump.adrian2011-01-247-1/+480
|
* The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilitiesmckusick2011-01-2413-23/+25
| | | | | | | | | | | | | | include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h. The commit also includes some minor style(9) header fixup in newfs. This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant. Submitted by: Garrett Cooper yanegomi at gmail dot com
* Honor $PAGER instead of always calling more.gordon2011-01-241-4/+9
| | | | | Approved by: colin@ MFC after: 1 week
* Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernetyongari2011-01-241-14/+2
| | | | | | | | controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+.
* Add stream scheduling support.tuexen2011-01-2315-178/+1199
| | | | | | This work is based on a patch received from Robin Seggelmann. MFC after: 3 months.
* Disable ATAPI DMA unconditionally on Apple Kauai ATA controllers, like itnwhitehorn2011-01-231-5/+6
| | | | | | | | is on the MacIO ones. It appears to be unreliable on all DBDMA-based controllers for unknown reasons, which should be figured out eventually. Tested by: Torfinn Ingolfsen MFC after: 1 week
* This script parses output of userland tools. In the case of a faultedjpaetzel2011-01-231-1/+5
| | | | | | | | | | | | zpool the output causes the script to bail out with syntax errors. Since a scrub of a faulted zpool is pointless, just skip over any pools marked as such. PR: conf/150228 Submitted by: jpaetzel Approved by: kib (mentor) MFC after: 3 days MFC note: only for RELENG_8
* For `make tinderbox` there is no need to print the extra commands.bz2011-01-231-2/+2
| | | | MFC after: 5 days
* init(8): Document that login(1) is now responsible for recording logouts.jilles2011-01-231-5/+5
| | | | init(8) only uses utmpx for recording reboots and shutdowns.
* Enable the 11n PHY by default whether or not 11n is configured.adrian2011-01-231-4/+10
| | | | | | | | | The linux ath9k driver and (from what I've been told) the atheros reference driver does this; it then leaves discarding 11n frames to the 802.11 layer. Whilst I'm here, merge in a fix from ath9k which maintains a turbo register setting when enabling the 11n register; and remove an un-needed (duplicate) flag setting.
* Update the AR9280v2 inivals to match what is in Linux ath9k.adrian2011-01-231-152/+140
| | | | | This repairs the behaviour of my AR9280 - both radio chains now seem to correctly be receiving.
OpenPOWER on IntegriCloud