summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-19Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowingFrederic Cambus
to retrieve basic information about a framebuffer display. OK visa@, tedu@
2017-06-19Make rn_match() and rn_lookup() safe to be used in parrallel, whenMartin Pieuchot
different trees are manipulated: - Stop writting to global variables - Use a buffer on the stack - Anotate read/only arrays as such While here introduce a SALEN() macro and assert that the KERNEL_LOCK() is held when a tree is modified. ok bluhm@
2017-06-19Do not call txeof nor rxeof in the watchdog routine.Martin Pieuchot
They cannot be serialized with the interrupt routine and are useless because the driver is reinitialized right after. Pointed by and ok mikeb@
2017-06-19fix descriptor leak in the smtp congestion mechanismGilles Chehade
diff from Henri Kemppainen; ok gilles@ eric@
2017-06-19g/c ASPICFLAG.Martin Pieuchot
This used to be necessary a long time ago in the... gcc 2.95 days. from miod@
2017-06-19Mark up "am i" as Cm, not Ar.Anthony J. Bentley
While here, remove a leftover Tn macro. ok jmc@
2017-06-19No need for a conditional to choose between nroff and troff.Anthony J. Bentley
ok jmc@
2017-06-19port the RBT code to userland by making it part of libc.David Gwynne
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
2017-06-19Erroneous host names in various options should be ignoredKenneth R Westerback
and not cause the lease to be declined. Restore inadvertantly changed behaviour. Tweak logic to also ignore invalid host names in domain-search. Reported by Christer Solskogen via misc@
2017-06-18Move the timeout information into struct interface_info withKenneth R Westerback
the rest of the dhcp state. One less struct (dhcp_timeout) to worry about, one less field (ifi) to keep track of.
2017-06-18Don't write input if ICANON is enabled. Also, write one byte at a time.anton
2017-06-18Implement appending to standard man(7) and mdoc(7) macros with .am.Ingo Schwarze
With roff_getstrn(), provide finer control which definitions can be used for what: * All definitions can be used for .if d tests and .am appending. * User-defined for \* expansion, .dei expansion, and macro calling. * Predefined for \* expansion. * Standard macros, original or renamed, for macro calling. Several related improvements while here: * Do not return string table entries that have explicitly been removed. * Do not create a rentab entry when trying to rename a non-existent macro. * Clear an existing rentab entry when the external interface roff_setstr() is called with its name. * Avoid trailing blanks in macro lines generated from renamed and from aliased macros. * Delete the duplicate __m*_reserved[] tables, just use roff_name[].
2017-06-18Convert last set_timeout() use to set_timeout_interval() andKenneth R Westerback
then remove set_timeout() and rename set_timeout_interval() to set_timeout().
2017-06-18Drop (int) casts of (time_t - time_t) calculations thatKenneth R Westerback
are assigned to an int variable.
2017-06-18Nuke stray and misleading comment.Kenneth R Westerback
2017-06-18Split octeon interrupt code into a glue layer and a CIU driver.Visa Hankala
This makes possible to add drivers for other interrupt controllers on the platform. The glue layer has been derived from arm64/armv7.
2017-06-18pms/alps: configure compat modeUlf Brosziewski
2017-06-18Remove remnants of old versions.Ulf Brosziewski
2017-06-18Move IPI control entry points into octeon_intr.c.Visa Hankala
Needed by upcoming driver changes.
2017-06-18update log.c in ifstated to the same used in bgpd etc.Sebastian Benoit
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks
2017-06-18Make 'DEBUG' compile again.Kenneth R Westerback
2017-06-18Nuke unused pointer to non-existant struct.Kenneth R Westerback
2017-06-18Drop unnecessary call to octeon_setintrmask(). The function gets calledVisa Hankala
by the splx() handler.
2017-06-17style message about duplicate RCS ids; inspired by mdoclintIngo Schwarze
2017-06-17churn related to the new style message about RCS idsIngo Schwarze
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.