Commit Graph

133062 Commits

Author SHA1 Message Date
simonb f645983fc7 Switch from intrcnt interrupt account to event counters. 2005-01-11 08:05:13 +00:00
martin d977618dcf Backout -DDEBUG that I accidently commited with the last change 2005-01-11 07:47:37 +00:00
imp f2bd93408a Merge from FreeBSD:
sc_child is only used on NetBSD and OpenBSD, ifdef appropriately
FreeBSD revisions:
	ehcivar.h	1.8
	ohcivar.h	1.39
	uhicvar.h	1.39
2005-01-11 07:45:34 +00:00
itojun f6b6f2cd66 written-from-scratch manpage (fixes ISOC copyright violation) 2005-01-11 07:26:57 +00:00
simonb 554ce4f360 Document the EVCNT_TYPE_TRAP event type. 2005-01-11 07:23:49 +00:00
kent 040d52ef77 reflect the recent audio_hw_if changes for open(), close(), set_params(),
round_blocksize(), trigger_output(), and trigger_input().
bump date.
2005-01-11 07:19:28 +00:00
simonb 3b6024ad24 ANSIfy. 2005-01-11 07:01:38 +00:00
itojun 2537b08b16 replace with written-from-scratch manpage. (fixes ISOC copyright issue) 2005-01-11 06:01:41 +00:00
simonb 61b633d474 Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-11 05:42:17 +00:00
kent 5610969544 ansify and KNF 2005-01-11 04:23:14 +00:00
briggs 9750b8741d In epshutdown(), do not attempt to disable the interface when stopping it
because we're about to write to it again (with a global reset).  Disable
the interface explicitly after the reset is written.
2005-01-11 04:16:27 +00:00
kent dc63d1767d fix compilation errors 2005-01-11 03:45:17 +00:00
chs 67402a485f enable powersave mode on 7450 and family.
also, the HID0_DOZE bit in this context doesn't mean "doze",
it's actually "enable extra BATs".  add an alias for this bit
and use it as appropriate.
2005-01-11 02:09:54 +00:00
chs cf6b9650a5 remove leftover debug printf. 2005-01-11 02:04:01 +00:00
chs 320acb3f66 assert that PSL_EE is on when do_pending_int() is called
(since things don't work too well if it's not).
2005-01-11 02:02:41 +00:00
uwe c1574ed6c1 Add keyboard layout for Jornada 680/690 Spanish (ABE).
From Alfonso Fernandez.
2005-01-11 01:54:20 +00:00
chs 717114639a typoes. 2005-01-11 01:51:12 +00:00
uwe 080b48020c Add KB_ES | KB_MACHDEP placeholder for Jornada 680/690 Spanish (ABE). 2005-01-11 01:39:36 +00:00
itojun 4db58ab415 fixed a unexpected addr/port matching failure in SA management
FreeBSD-PR: kern/72393
2005-01-11 01:30:17 +00:00
uwe e9fd18895b Regen for Compaq Aero 8000 and Jornada 680/690 with Spanish keyboard. 2005-01-11 01:05:32 +00:00
uwe 2a292865c4 Add Compaq Aero 8000 (requested by Linux folks).
Add Jornada 680/690 with Spanish keyboard.
2005-01-11 01:03:42 +00:00
joff 20d6de90cd Include include/dev/ic/hd44780var.h 2005-01-11 01:00:49 +00:00
joff b6b2f0d2df Use hd44780var.h instead of hd44780_subr.h 2005-01-11 00:59:06 +00:00
joff e1191d101f Replace hd44780_subr.h to hd44780var.h and install to userland. 2005-01-11 00:57:56 +00:00
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