Commit Graph

18420 Commits

Author SHA1 Message Date
andvar 7c674e8e6e remove double t from targeted, add missing r to arbitrary
And fix few more typos along the way in comments and man pages.
2022-01-26 11:48:53 +00:00
skrll a3d0b3b604 Add a note about bus_dmatag_subregion [min_addr, max_addr] 2022-01-22 15:16:37 +00:00
wiz a5d6f6fd6a New sentence, new line. 2022-01-22 09:22:41 +00:00
skrll a8418b3e5b Add __MASK(3)
__MASK(n): first n bits all set, where __MASK(4) == 0b1111.
2022-01-22 08:58:48 +00:00
dholland 9188f350fd +aioli 2022-01-21 08:58:10 +00:00
skrll fa1e00efc4 Add return type of the __SHIFT* macros. Bump date.
"looks right to me" from mrg@
2022-01-20 07:30:25 +00:00
christos 55cf6c3f80 put back more links now that we have them. 2022-01-18 20:38:28 +00:00
wiz 8dc77b19f8 Sort ERRORS, mark up NULL. 2022-01-17 23:12:41 +00:00
christos d531eb8e3c Add new acl vnode op pages 2022-01-17 22:47:43 +00:00
wiz 2fe22866e0 Sort SEE ALSO, fix punctuation. 2022-01-17 22:27:20 +00:00
wiz f5e669e2ed use "non-null" instead of "nonnull" for readability 2022-01-17 22:27:10 +00:00
christos 1527922e50 Add acl related changes; there is no more vaccess; document the genfs functions
instead.
2022-01-17 19:08:06 +00:00
thorpej 5eb438ad7a Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18).  Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.
2022-01-17 16:31:23 +00:00
wiz e751bb9847 whitespace fix 2022-01-15 17:54:01 +00:00
christos 10191c34cf PR/56629: Andreas Gustafsson: Update documentation about the filter head
maintainance functions.
2022-01-15 15:37:15 +00:00
wiz 52efe91aa5 Fix typo, remove dot 2022-01-06 22:10:39 +00:00
nia 2e2abd82c6 Add man pages for eqos(4), mcommphy(4)
lgtm jmcneill@
2022-01-06 21:55:23 +00:00
msaitoh 988ab2c9fa s/sytem/system/ 2022-01-01 10:32:28 +00:00
msaitoh 36a58e7c07 s/assoicate/associate/ 2022-01-01 09:53:32 +00:00
riastradh 88580404b3 sysmon(9): New sysmon_task_queue_barrier(pri) function.
This waits for the completion of all tasks at priority pri or lower
that are currently queued at the time of the call.
2021-12-31 14:22:10 +00:00
christos 32fedbaf4c remove the NEED_OWN_INSTALL_TARGET conditional for setting the install
variables, suggested by phone@
2021-12-30 04:57:10 +00:00
andvar ca8f8e9eb0 namei(9): s/operatoins/operations/ 2021-12-26 16:41:09 +00:00
andvar e590e6c9f3 fix various typos, mainly in comments. 2021-12-26 16:08:19 +00:00
christos e84b253916 remove extra C in OBJCOPTS (from Anon Ymous) 2021-12-23 20:08:07 +00:00
thorpej 3000bba86d Document PR_PSERIALIZE. Remove documentation for pool_cache_setpredestruct(). 2021-12-22 17:28:17 +00:00
thorpej 1af3a96973 Add pool_cache_setpredestruct(), which allows a pool cache to specify
a function to be called before the destructor for a batch of one or more
objects is called.  This can be used as a synchronization point by
subsystems that rely on the type-stable nature of pool cache objects or
subsystems that use other forms of passive serialization.
2021-12-21 18:59:22 +00:00
christos 69f41f5953 Rename:
MKKDEBUG -> MKDEBUGKERNEL
    MKTOOLSDEBUG -> MKDEBUGTOOLS
while keeping compatibility with the old names. Add missing documentation.
Now all debugging tunables are prefixed with MKDEBUG.
2021-12-20 20:33:20 +00:00
christos 814fa5ccf1 PR/55557: Andreas Gustafsson" Introduce a new variable MKDEBUGKERNEL which
as the name implies, includes a netbsd.gdb inside each kernel set:
$ tar -tzvf kern-GENERIC.tgz
-rwxr-xr-x  0 root   wheel 29398264 Dec 19 12:50 ./netbsd
-rwxr-xr-x  0 root   wheel 208125880 Dec 19 12:50 ./netbsd.gdb
2021-12-20 14:41:26 +00:00
christos 7aa721301c Pass W with IDU for lint and deps. 2021-12-14 16:22:07 +00:00
dholland 602dabe914 Add a bunch of missing food items. 2021-12-12 22:58:35 +00:00
maya 1eb4f57936 Add amdgpu firmware build goo (disabled) 2021-12-12 20:33:21 +00:00
riastradh c59d430d3b crashme(9): Touch up man page markup.
Better consistency with sysctl(7), less random widthing and
offsetting.
2021-12-11 23:47:53 +00:00
wiz 2ea60c825f Document vchiq@acpi 2021-12-11 20:42:48 +00:00
mrg d914a3c1b9 remove clause 3 from all my licenses that aren't conflicting with
another copyright claim line.  again.  (i did this in 2008 and then
did not update all of my personal templates.)
2021-12-11 19:24:18 +00:00
riastradh 72cb7fc7b2 Update crashme(9) man page for recent additions. Reorganize slightly. 2021-12-11 19:16:48 +00:00
andvar 8c4df4824b s/unaccessible/inaccessible/ 2021-12-10 19:30:05 +00:00
andvar 28425333b6 s/refernce/reference/ 2021-12-09 21:14:50 +00:00
andvar 765c526966 s/recomended/recommended/ and s/unknonwn/unknown/ 2021-12-08 19:28:30 +00:00
rillig f839c2b06d bsd.clean.mk: fix typo in comment 2021-12-07 22:40:52 +00:00
brad 4baee7b8d2 Mention the SCMD device 2021-12-07 17:50:27 +00:00
brad bf53d44167 A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip.  The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus.  One can interface with the SCMD using tty uart commands, SPI or
I2C.  The driver in this commit adds a kernel driver for the I2C and
SPI interfaces.  The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.
2021-12-07 17:39:53 +00:00
abs 9a317b44dd Add Xwsfb X server to pmax build
With the previous tweak to TURBOchannel framebuffers in sys/dev/tc this
should allows pmax to once again run X11.

TODO: Investigate pullup to -9
2021-12-06 17:51:59 +00:00
msaitoh e6dabad63a s/specificed/specified/ in comment. 2021-12-05 07:53:57 +00:00
msaitoh 8194593f85 s/runable/runnable/ 2021-12-05 07:35:17 +00:00
msaitoh 8a3fe07864 s/from from/from/ in comment. 2021-12-05 04:54:20 +00:00
msaitoh 9071b4b491 s/covert/convert/ in comment. 2021-12-05 04:38:54 +00:00
msaitoh a302c94c87 Add some devices. 2021-12-02 05:10:04 +00:00
ryo 11b9cb2b2b aarch64 also now can execute both 32 and 64 bit 2021-11-28 18:08:51 +00:00
christos c207dc6779 When we build against DESTDIR, add the lint library path for DESTDIR during
the link phase for lint.
2021-11-28 15:49:36 +00:00
christos 9bb938d35a For private and module libraries, build lint but do not install the lint
libraries. We want to lint the private library code and we want to be able
to link against the lint libraries, for example llib-largon2 from cgdconfig
which is accessed via PROGDPLIBS.
2021-11-28 15:47:33 +00:00