Commit Graph

133038 Commits

Author SHA1 Message Date
mycroft
7f1fe4e81f Rearrange some code slightly to avoid uninitialized variable warnings. 2005-01-11 00:19:36 +00:00
christos
81b53d0cfa - make LOGIN_CAP mandatory
- eliminate global pamh
- use setusercontext() properly (ideas borrowed from FreeBSD)
- remove stray debugging.

This now works.
2005-01-10 23:33:53 +00:00
christos
6b47b9b52a LOGIN_CAP is mandatory for PAM. 2005-01-10 23:31:34 +00:00
joff
5b4ec09e40 Add GPIO addresses 2005-01-10 23:17:53 +00:00
wiz
bcaef1c07a Make one ioctl an xref. Use Ss for non-standard headers. Sort SEE ALSO. Use \*[Gt]\*[Lt]. 2005-01-10 22:35:01 +00:00
kent
8874b02756 2.99.13 (audio in-kernel API changes) 2005-01-10 22:08:55 +00:00
kent
23b5d91433 merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-10 22:01:36 +00:00
wiz
69a22a7d36 Drop trailing whitespace. 2005-01-10 21:43:08 +00:00
manu
f98741225d Disable PAM by default until it gets properly integrated.
Now have MKPAM=yes in /etc/mk.conf if you want to experiment with PAM.
2005-01-10 21:06:39 +00:00
lukem
04eb493802 support RESCUEDIR (for mount_nfs and umount) 2005-01-10 20:53:48 +00:00
perry
93226f835d Restore the BUGS section, but make it say:
Currently, only the ip(4) and ip6(4) protocols are supported.
2005-01-10 19:22:25 +00:00
ginsbach
e793dd138a Fix thinko with last commit. 2005-01-10 19:01:09 +00:00
hubertf
e38333f8c4 Remove BUGS notice that ppp(4) only works for IPv4
This time to the right branch... sorry for the mess!
2005-01-10 18:03:37 +00:00
chs
a1dc78ab6b use a global variable to ensure that only one instance is configured
rather than requiring that its unit number be zero.
simplify by not pretending that nexts can have more than 1 zsc.
2005-01-10 17:07:09 +00:00
chs
da79fa5c17 de-__P, remove register, ansify. 2005-01-10 17:01:55 +00:00
chs
84f5997a1a really remove register. 2005-01-10 17:01:22 +00:00
chs
69ef38f074 de-__P, remove register, ansify, other cleanup. 2005-01-10 16:47:48 +00:00
chs
d65ac815a8 use a global variable to ensure that only one instance is configured
rather than requiring that its unit number be zero.
simplify by not pretending that powermacs can have more than 1 zsc.
2005-01-10 16:38:06 +00:00
chs
35cacfdeb8 de-__P, remove register, ansify. 2005-01-10 16:34:46 +00:00
tls
abcbeb46d9 Users have observed that the amount of memory used by the metadata cache
can in some situations exceed the high-water mark, and stay there once it
gets there.  Adjust the canrelease function so that it will immediately
bring us back down to the high-water mark in this situation.

How can this happen at all?  Consider a machine with two filesystems, one
with a much larger blocksize than the other.  If the small-block filesystem
is very busy, growing the cache up to the high-water mark, and then the
large-block filesystem becomes busy, buffers will be recycled (since we
are at the high-water mark) but _grow each time they're recycled_.  Once
we're above the high-water mark, the canrelease call in allocbuf (without
this change) doesn't shrink us back down below it; so things get worse and
worse.
2005-01-10 15:29:50 +00:00
jmmv
afdb4e66ab + AMI 2005-01-10 14:10:32 +00:00
jmmv
732504aebb + AM, EPRML, FM, MFM, PRML, RLL. 2005-01-10 13:16:39 +00:00
lukem
734b40f62e Special-case the srcdirs for scp & ssh. 2005-01-10 13:04:04 +00:00
cube
e8ff287844 Add a paragraph about what to do with the Ethernet address and how to
change it.
2005-01-10 13:02:26 +00:00
lukem
553c396762 more stuff in /rescue 2005-01-10 12:30:21 +00:00
tron
3952de4581 Backout last change. I'm not sure what the correct fix is but the last
change wasn't it.
2005-01-10 11:23:53 +00:00
tron
66db1620b2 Fix this so that "make install" will actually work. 2005-01-10 11:20:01 +00:00
lukem
33349ca906 Revert previous; init(8) still needs special case handling for RESCUEDIR
otherwise the path to mount_mfs(8) and the standard $PATH will be wrong...
2005-01-10 10:59:49 +00:00
lukem
242baa62bd Add to /rescue: scp ssh slogin
(all without Kerberos support at this time)
2005-01-10 10:47:36 +00:00
lukem
44173303af MAKEVERBOSE support 2005-01-10 10:05:44 +00:00
lukem
e1375832e2 Provide /rescue/cgdconfig if ${MKCRYPTO} != "no" 2005-01-10 10:04:31 +00:00
lukem
c0cb06d9b5 Add: less (more), vi, chroot
Requested by Matthew Mondor in PR 26147
2005-01-10 09:51:33 +00:00
matt
b046d5ecf9 Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-10 05:42:09 +00:00
mycroft
87e784e1de Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-10 05:34:51 +00:00
mhitch
248d777d24 Fix Maxine keyboard and mouse ioctl routines to return EPASSTHROUGH for
unrecognized commands so they can be passed to other handlers.
2005-01-10 04:43:34 +00:00
mhitch
4deb82db56 Maxine mouse buttons were being mapped incorrectly (old dtop.c code mapped
them to serial mouse buttons, which were then mapped into events to pass
to the X server).
Also fix bug in mouse motion - putting 2 unsigned bytes into an integer
resulted in a 16-bit unsigned value, so negative mouse motion didn't work.
2005-01-10 04:40:05 +00:00
lukem
497e76847f Repeat after me: "test both cases before commit" 2005-01-10 04:00:50 +00:00
lukem
3af1db4def Support ${MKINET6} == "no". 2005-01-10 03:13:04 +00:00
christos
2ef14ae88a Restore su.c to version 1.58, plus minor prototyping. Split pam
into su_pam.c, and turn it off by default in the Makefile until it
is tested and actually works. The current pam version does not set ruid
properly anymore.
2005-01-10 03:11:50 +00:00
lukem
1e281ed227 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
lukem
a390dfa659 Only #define WANT_IPV6 if ${USE_INET6} != "no".
(Otherwise #define ISC_PLATFORM_NEEDIN6ADDRANY.)
2005-01-10 03:03:28 +00:00
lukem
b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
8929bce61d remove unnecessary comment 2005-01-10 02:53:39 +00:00
lukem
da9dede24f add MKINET6 to etc/release 2005-01-10 02:49:46 +00:00
lukem
d2c46a1477 remove unnecessary comment 2005-01-10 02:45:35 +00:00
lukem
1227550528 Revert previous (1.258): we don't want to link .so libraries against
(non-PIC) .a libraries, and the problem which triggered the addition
of the previous has been fixed by providing librpcsvc as a .so.
2005-01-10 02:42:34 +00:00
lukem
9505ced464 minor whitespace consistency 2005-01-10 02:32:46 +00:00
lukem
c6f2cec0b0 include <isc/net.h> so that -UWANT_IPV6 compiles correctly. 2005-01-10 02:14:46 +00:00
lukem
4ae6a6d6f4 Support -DNOINET6 to disable USE_INET6 (a la the FreeBSD section earlier) 2005-01-10 02:10:47 +00:00