summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-17style message about missing RCS ids; inspired by mdoclintIngo Schwarze
2017-06-17Shuffle dhcp[offer|ack|nak]() functions together for easy reference.Kenneth R Westerback
2015-01-29reorg tbl(7) test suiteIngo Schwarze
2017-06-17Since WSFONT_NAME_SIZE was switched from 16 to 32, account for theFrederic Cambus
change in wsfontload as well: tweak spacing and printf format string. OK deraadt@, mpi@
2017-06-17The fonts we are looping through in vga_selectfont() are the builtinFrederic Cambus
font which is using the IBM encoding, and some potentially loaded fonts which are either IBM or ISO encoded. Therefore the condition checked by vga_valid_font() is always true, and we can remove it. Thanks to miod@ for pointing this out. OK tb@
2017-06-17delete the -d option and the "use .Fn or .Xr for functions" check,Ingo Schwarze
both covered by mandoc now; OK jmc@
2017-06-17Move win variable.anton
ok deraadt@ tb@
2017-06-17Rename struct interface_info field 'new' to clearer 'offer'.Kenneth R Westerback
2017-06-17We accept either the first offer received, or an offer for theKenneth R Westerback
current address if one arrives inside select_timeout. So there is no need to keep a list of received offers. Just keep the best one and DECLINE the rest. Nuke now unused 'offered_leases' TAILQ. Also fixes the oddity that the *last* offer for the current address is taken rather than the *first*.
2017-06-17if .in is used inside the .TP head, it's always relativeIngo Schwarze
2017-06-17DECLINE offers as they are deemed invalid. Decline them at theKenneth R Westerback
first problem rather than continuing to look for other reasons to decline them. Nuke is_invalid field since it is now unused. More informative log message when a lease is determined to be unacceptable.
2017-06-17tables leak tab settings to subsequent textIngo Schwarze
2017-06-17correct handling of blank lines after \cIngo Schwarze
2017-06-17Pass the command to execute as an argument. Allows the edit program to beanton
reused.
2015-01-29reorg tbl(7) test suiteIngo Schwarze
2017-06-17add rdtsc() to match amd64Jonathan Matthew
ok mikeb@ mlarkin@
2017-06-17Invalidate remote TLB entries by address range. This reducesVisa Hankala
the number of IPIs required when removing mappings.
2017-06-17Don't need to link with -ll or -ly.Brian Callahan
ok millert@ (who spotted and provided the -ll removal bits)
2017-06-17properly set the default indentationIngo Schwarze
such that even pages without any .SH macros get it
2017-06-17Fix comment. This gap is not only on LUNA-88K2 but also on LUNA-88K.Kenji Aoyama
2017-06-16Multiple tbl(7) improvements:Ingo Schwarze
* Do not discard data that lacks a matching layout cell but remains within the number of columns of the table as a whole. * Do not insert dummy data rows for any layout row starting with a horizontal line, but only for layout rows that would discard all the data on a matching non-empty data row. * Print horizontal lines specified in the layout even if there is no matching data cell. * Improve the logic for extending vertical lines to adjacent rows, for choosing cross marks versus line segments, and some related details.
2017-06-16pfctl: merge identifical if conditions and void functions discarding ret valuesAdam Wolk
Transform the following functions (which never return anything other than 0, and whose return value is never used) to void: * pfctl_clear_stats, pfctl_clear_interface_flags, pfctl_clear_rules, pfctl_clear_src_nodes, pfctl_clear_states * pfctl_kill_src_nodes, pfctl_net_kill_states, pfctl_label_kill_states, pfctl_id_kill_states, pfctl_key_kill_states inside main: merge two identical if conditions next to each other into one. Submitted by rain1 (thanks!) with additional credit to: - mikeb@ for pointing out we can void all _clear_ functions - ghostyy for pointing out all _kill_ functions can be voided OK tb@, mikeb@
2017-06-16Tweak some logging.Nicholas Marriott
2017-06-16- Fix incorrect values in the computation of transmit power for theKevin Lo
rtl8188eu chipset. - Small code refactoring: - replace hardcoded rate indexes with their name, like athn(4). - replace fields offsets with the structure; from FreeBSD r294198. - be compliant with definitions of the efuse in vendor hal_pg.h and rename struct r92c_rom member names: s/channel_plan/reserved5/, s/xtal_calib/channel_plan. - no need to disable HWPDN twice in urtwn_r88e_power_on(). Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and RTL8188CE devices. ok stsp@
2017-06-16Nuke 'is_bootp' field and just use a #define to check if the leaseKenneth R Westerback
has DHO_DHCP_MESSAGE_TYPE info.
2017-06-16Log terminal capabilities for each new terminal.Nicholas Marriott
2017-06-16In sppp(4), allow additional 'wildcard' addresses for the destination.Stefan Sperling
Any address within the range 0.0.0.1 - 0.0.0.255 can now be used. This allows for multiple pppoe(4) interfaces with dynamic addresses within the same routing table. Which used to work before OpenBSD 5.8, but since 5.8 only one interface in a routing table can use destination address 0.0.0.1. Problem first reported by Steve (fiverings04 at australian yahoo) on misc@. I ran into it on an EdgeRouter lite which is supposed to serve two ADSL lines. ok sthen@ mpi@ man page help from jmc@ for an earlier variant of this change
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-06-16introduce a BUILDFIRST/BUILDAFTER mechanism:Marc Espie
record every standard component built in bsd.lib.mk/bsd.prog.mk in BUILDAFTER and have BUILDAFTER depend on BUILDFIRST, thus making possible to build some stuff early without relying on "make depend" okay tb@ millert@
2017-06-16In iwm_init() save the generation counter once before looping overStefan Sperling
tsleep(9), instead of saving it during every iteration.
2017-06-16s/CPU_LIDSUSPEND/CPU_LIDACTION/Martin Natano
ok mlarkin
2017-06-16PCI Express extendeded capability 0x1c is LN Requester according to theJonathan Gray
PCI-SIG Lightweight Notification (LN) Protocol ECN document. From Masanobu SAITOH.
2017-06-16add garbage collection of unused lists percpu cached items.David Gwynne
the cpu caches in pools amortise the cost of accessing global structures by moving lists of items around instead of individual items. excess lists of items are stored in the global pool struct, but these idle lists never get returned back to the system for use elsewhere. this adds a timestamp to the global idle list, which is updated when the idle list stops being empty. if the idle list hasn't been empty for a while, it means the per cpu caches arent using the idle entries and they can be recovered. timestamping the pages prevents recovery of a lot of items that may be used again shortly. eg, rx ring processing and replenishing from rate limited interrupts tends to allocate and free items in large chunks, which the timestamping smooths out. gc'ed lists are returned to the pool pages, which in turn get gc'ed back to uvm. ok visa@
2017-06-16split returning an item to the pool pages out of pool_put as pool_do_put.David Gwynne
this lets pool_cache_list_put return items to the pages. currently, if pool_cache_list_put is called while the per cpu caches are enabled, the items on the list will put put straight back onto another list in the cpu cache. this also avoids counting puts for these items twice. a put for the items have already been coutned when the items went to a cpu cache, it doesnt need to be counted again when it goes back to the pool pages. another side effect of this is that pool_cache_list_put can take the pool mutex once when returning all the items in the list with pool_do_put, rather than once per item. ok visa@
2017-06-15Don't defer attaching PV devicesMike Belopuhov
Now that both hvn(4) and hvs(4) can perform VMBus channel operations during autoconf, it's no longer necessary to defer their attachment.
2017-06-15Remove the Installation section and fix a nonexistent path.Michal Mazurek
OK tb@ (fix paths diff) deraadt@
2017-06-15Make sure we can free GPA handles when coldMike Belopuhov
2017-06-15Support executing NVSP and RNDIS commands during autoconfMike Belopuhov
2017-06-15Finer grained pledge for at(1). After setegid(), do a three-way pledge:Theo Buehler
For AT and BATCH: "stdio rpath wpath cpath fattr getpw unix" For ATRM: "stdio rpath cpath getpw unix" For ATQ and CAT: "stdio rpath getpw" "unix" is needed for poke_daemon() and "fattr" to chmod +x spoolfile. idea and ok millert
2017-06-15Provide storage for the response message in each CCBMike Belopuhov
2017-06-15Remove the structure definition for an old (pre Win8) I/O request typeMike Belopuhov
since the new one is backwards compatible and the correct length of the request can be specified w/o an actual definition.
2017-06-15Put back copying of the response message into the polling callbackMike Belopuhov
The response message is allocated on the stack of hvs_intr and its content is valid during a single message processing loop iteration. Due to the fact that polled transfers finish completion in a callee context, the cached pointer to the response message becomes stale very quickly. To avoid this situation the poll completion callback needs to make sure the content of the response is provided to the next completion routine.
2017-06-15Nuke unused parameter 'client_addr' from the 'handlers', i.e.Kenneth R Westerback
dhcpoffer(), dhcpack(), dhcpnak().
2017-06-15Nuke unused parameter 'client_addr' from packet_to_lease().Kenneth R Westerback
2017-06-15Assorted tweaks for x11/qt* modules description.Vadim Zhukov
1999-01-21hunt (from NetBSD)David Leonard
2017-06-15It's never too late to document x11/kde module. At least a (non-obvious) bit.Vadim Zhukov
2017-06-15Document MODQMAKE_RECURSIVE and test framework support for devel/qmake.Vadim Zhukov
2017-06-15The devel/qmake port module handles Qt3 as well.Vadim Zhukov
2017-06-15Correct the number of targets vs number of LUNsMike Belopuhov
jsg@ has found out that the number of targets wasn't correct and it turns out that the device supports up to 2 targets and 1 or 64 LUNs depending on whether it's taking over an IDE device or is a virtual SCSI. While here make sure the command response is copied back only for synchronous commands that are issued during initialization phase.