Commit Graph

140229 Commits

Author SHA1 Message Date
jmcneill 8a4ae7b995 Add gpio man pages. 2005-09-27 02:38:41 +00:00
jmcneill 2772d72668 Add man page for gpio framework (from OpenBSD) 2005-09-27 02:38:03 +00:00
jmcneill 9292caa332 Add sys/gpio.h 2005-09-27 02:37:03 +00:00
jmcneill bec79ef231 Import general purpose I/O framework from OpenBSD. 2005-09-27 02:34:02 +00:00
kent 70c1989a17 * azalia_attach_intr()
ignore errors of codec initializations if at least one
codec is initialized successfully

* azalia_alloc_dmamem()
  fail if the HDA controller does not support 64 bit addressing
and buf_dmamap_* allocate a 64 bit address.

Pointed out by Brett Lymn
2005-09-26 17:30:04 +00:00
manu c557aaf18f Fix bug when using hybrid auth in client mode
make xauth_login work again
add safety checks
2005-09-26 16:24:57 +00:00
yamt 7b343ec65a - defflag bufq_fcfs and bufq_disksort.
- make them on by default.
2005-09-26 14:14:26 +00:00
yamt d3a07546a6 revert ffs_snapshot.c 1.20 because it's bogus. pointed by Simon Burge. 2005-09-26 14:10:32 +00:00
yamt 6138b82a56 always use nanotime rather than time.
it's bad to mix nanotime and time because it sometimes
make timestamps go backwards.
2005-09-26 13:52:20 +00:00
kleink 21ef7cfd14 Move ttyname_r() to the 1003.1c-1995 section. 2005-09-26 12:52:42 +00:00
kleink ffff20ba60 Move getenv_r() to the local section. 2005-09-26 12:51:34 +00:00
tron 074df7771e Add manual pages MD2FileChunk(3), MD2Transform(3) and SHA1FileChunk(3). 2005-09-26 12:24:13 +00:00
wiz 72a37764e0 Punctuation nits; grammar fix. 2005-09-26 10:54:46 +00:00
jmmv 7f4f9fe044 Check that both the kernel and mount_tmpfs handle extremely big numbers in
correctly in the max size parameter.
2005-09-26 09:50:53 +00:00
jmmv 90260ab291 Handle too big numbers given in the max size argument. 2005-09-26 09:50:08 +00:00
jmmv a42b78b9cc Handle overflow errors in dehumanize_number. Noticed by chs@. 2005-09-26 09:49:22 +00:00
chs 96fb424f44 fix two problems with icache invalidation of the PLT:
- restore revision 1.33, it was correct.
 - fix pointer arithmetic in other calls to __syncicache().
2005-09-26 05:45:13 +00:00
christos 2cbe95f3ac Regen. 2005-09-26 03:04:46 +00:00
christos 65a3ca6215 some of the extattr syscalls return ssize_t not int. 2005-09-26 03:02:19 +00:00
christos 6db303aa6b The weak alias macros can only work before namespace.h gets included because
when the strings get expanded we gain an _ from namespace.h. So define a
macro to point to the appropriate include file for the hash function, and
include the hash function later, from the .c file we always include. This
allows us to eliminate the hack of including namespace.h twice as well as
nbtool_config.h.
2005-09-26 03:01:41 +00:00
christos 8a17871865 Add missing SHA384_Transform. XXX: Is that correct? 2005-09-26 02:59:29 +00:00
christos 14f3214d1a the sha2 functions have an _. 2005-09-26 02:12:24 +00:00
rpaulo 4e47c694c9 Sync prototypes with reality. 2005-09-26 01:04:34 +00:00
yamt 58e607b974 tmpfs_rename: fix lock/unlock mismatch. 2005-09-26 00:46:59 +00:00
dyoung 2e6630457d De-lint: assign MALLOC's argument, size, to a temporary unsigned
long, __size, before using it.  This quiets complaints when the
caller passes a 16-bit or 8-bit size---for example, in
ieee80211_node_attach, where it calls MALLOC(..., ic->ic_tim_len,
...).  I could not get any number of casts to quiet the complaint.
2005-09-26 00:12:23 +00:00
uwe 300c8b0563 Move new bus space methods to be with the rest of the bus space
related functions.
2005-09-25 23:14:06 +00:00
uwe 76a5b67165 Use mspcic_read_stream_N to access error addresses. They don't need
to be byteswapped.
2005-09-25 22:52:30 +00:00
uwe b98b97fe7f Stream versions of mspcic_read/write_N. 2005-09-25 22:50:57 +00:00
elad da7e4f7332 Fix weak aliasing after recent changes.
Inspired by comments from christos@, xtraeme@, mlelstv@, mhitch@, mrg@,
and uwe@; all the bugs are mine.
2005-09-25 22:20:59 +00:00
jmmv 3955cf65f9 Add some COMPAT_30 code to let old mountd binaries work after the NFS
exports rototill.
2005-09-25 21:57:40 +00:00
uwe cfe232b1e4 G/c msiiep_swap_endian, it's no longer used now that we run without
byteswapping in the PCIC.
2005-09-25 21:57:02 +00:00
jmmv 9ba32cead7 Follow compat naming tradition: rename compat_export_args to export_args30. 2005-09-25 21:17:05 +00:00
uwe 94e8dfaa23 G/c unused variable. 2005-09-25 20:49:43 +00:00
christos 1c208b995b ttyname_r returns int. 2005-09-25 20:43:54 +00:00
christos 2b46305054 ttyname_r returns int. 2005-09-25 20:28:56 +00:00
christos 395c3f1569 getenv_r and ttyname_r 2005-09-25 20:11:03 +00:00
christos e86a6cb1b4 Add getenv_r and ttyname_r 2005-09-25 20:08:15 +00:00
christos cc85a7cfd9 add getenv_r and ttyname_r 2005-09-25 20:08:01 +00:00
oster 96ba5552fa Re-work the handling of incoming I/O in RAIDframe:
- introduce rf_buf_queue_check() which checks to see if there
is work to do in the incoming buffer queue
- rf_RaidIOThread() is now responsible for calling raidstart(), and is
also now the only place that calls raidstart()
- raidstrategy() now just queues requests in buf_queue
and signals rf_RaidIOThread() that work has arrived

Hopefully addresses PR#30233
2005-09-25 19:47:17 +00:00
jmmv dee202322b Implement the getargs option. I knew the code in the kernel had to be of
some use...
2005-09-25 19:04:49 +00:00
rpaulo 124876d613 Fixing showmount was easier than I thought.. 2005-09-25 18:59:50 +00:00
rpaulo b04eff3537 ANSIfy. de-P(). Syle nits. 2005-09-25 18:56:33 +00:00
jmmv ff29f0196f Fix some type mismatch issues (gid_t and uid_t are unsigned); pointed out
by chs@.
2005-09-25 18:55:51 +00:00
rpaulo ff2bab1c59 tcp_callrpc(): bring in the FreeBSD version of this call. It uses the
"new" rpc functions and works with IPv6.
2005-09-25 18:50:28 +00:00
jmmv 63fb4d1c52 Kill reference to tmpfs(9). Noticed by "pancake". 2005-09-25 18:27:30 +00:00
rpaulo 7f0e10fba7 Add entry about showmount IPv6 support. 2005-09-25 17:53:33 +00:00
jmmv c690718c37 Only consider valid flags in the root mode's parameter given by the user.
I doubt the unchecked value could bring us problems, but better to be safe
than sorry.
2005-09-25 16:34:42 +00:00
jmmv b35a89f13c Sanity check negative values in the maximum size and number of nodes
arguments to avoid a crash while mounting a tmpfs file system.  Add a
regression test for this too.  Noticed by chs@.
2005-09-25 16:28:43 +00:00
skrll a626c5afb2 Whitespace and change a comment slightly. 2005-09-25 15:29:37 +00:00
skrll 443f1937a0 Don't try to bus_dmamem_alloc everytime we want to load the firmware as
it can fail all too easily. Instead bus_dmamap_load the cached copy and
create the command blocks for the device to load it accordingly.

Thanks to scw and mrg for reviewing this.

Closes PR 29892 (I hope).
2005-09-25 15:18:21 +00:00