Assar Westerlund
1866adc54f
(cantwrite): do not allocate memory for a NULL string
...
PR: misc/26044
MFC after: 1 week
Submitted by: bde
2001-06-18 04:44:23 +00:00
Assar Westerlund
a52532c91a
revert freeing of memory that gets allocated when str == NULL
...
(this will be fixed in a better way)
PR: misc/26044
2001-06-18 04:40:52 +00:00
Mike Heffner
a9992a76a3
Support mail boxes that have dates without seconds (SysV) and those
...
that have a timezone as <-|+>nnnn (eg. imapd).
PR: bin/11746
Obtained from: OpenBSD
MFC after: 2 weeks
2001-06-18 04:28:03 +00:00
Mike Heffner
224e22e6c6
Fix typo: clnt_destroy() only takes one arg.
...
MFC after: 2 weeks
2001-06-18 00:45:31 +00:00
Cameron Grant
74ffd13814
use devclass_get_maxunit() correctly
2001-06-18 00:10:47 +00:00
Cameron Grant
faeebea2b8
revise dsp_clone() to return the first nonbusy channel instead of simply
...
cycling channel numbers.
remove unused fields from struct snddev_info.
2001-06-17 23:23:06 +00:00
Cameron Grant
5210620e98
fix a potential panic in dsp_clone() if no pcm devices were detected
2001-06-17 20:15:29 +00:00
Wilko Bulte
fb6958b226
Note support for the Digital Etherworks DE305 card
2001-06-17 14:25:09 +00:00
Yoshihiro Takahashi
6c551e8d24
Don't assume that resource type is ioport and rid equal 0.
2001-06-17 13:33:59 +00:00
Alexander Langer
f0849acde3
Document the -a flag.
2001-06-17 11:22:57 +00:00
Benno Rice
c585bae1c2
The final commit for the first phase of PowerPC support.
...
This adds the config stuff needed to build kernels.
Reviewed by: obrien
2001-06-17 09:39:44 +00:00
Dima Dorfman
7d6d31cb79
Satisfy gcc's parenthetical needs and clamp down with WANRS=2.
...
Reviewed by: md5(1)
2001-06-17 06:22:30 +00:00
Yoshihiro Takahashi
3d1421a7f8
Allocate all resources using keyboard controller.
2001-06-17 04:43:28 +00:00
Mike Heffner
844518ff93
Add the -p flag to force unknown control sequences to be passed
...
through unchanged.
Reviewed by: silence on -audit
Obtained from: NetBSD
MFC after: 3 weeks
2001-06-17 04:24:16 +00:00
Mike Heffner
f34d0e7447
Use err(3) and style(9) cleanup.
...
MFC after: 2 weeks
2001-06-17 03:56:00 +00:00
Yoshihiro Takahashi
b60a68fddf
Supported to select a keymap for PC-98x1.
2001-06-17 03:13:48 +00:00
Yoshihiro Takahashi
6bb4c6e64f
Added PC-98x1 keymaps.
2001-06-17 03:10:38 +00:00
Dima Dorfman
1f5398eeff
Add missing article.
2001-06-17 02:24:04 +00:00
Warner Losh
0c0625cf94
Move cardbus and pccard bus bridge devices to near the bridge chips. This
...
is so that all the pccard options are together and this reduces diffs with
GENERIC.
2001-06-17 02:02:33 +00:00
Dima Dorfman
c01c5d5c46
Don't call printf without a format string (harmless in this case).
2001-06-17 02:01:43 +00:00
Warner Losh
0f51bb10a0
MFGENERIC:
...
1.307 Turn on kernel debug support
1.309 Turn off pcm
1.311 move wx to miibus chipsets
1.312 Comment out USERCONFIG
Reminded by: mihira-san <sanpei@sanpei.org>
2001-06-17 01:57:39 +00:00
Peter Wemm
766ea92b74
Revise wording of osreldate.h vs kernel warning to make it clear that it
...
is a userland-only header.
2001-06-17 01:20:25 +00:00
Dima Dorfman
8a89f037e9
Add an -a option which will make send-pr copy the specified file into
...
the Fix: section. Binary files (as determined by file(1)) are
uuencode'd.
Submitted by: alex
2001-06-17 00:35:46 +00:00
Peter Wemm
b85db19691
Move setugid() a little sooner to before we release tracing in case
...
crdup() or change_e*id() block on malloc() or mutex.
2001-06-16 23:34:23 +00:00
Warner Losh
8d3428c0b4
Some people are having problems with insert/eject. Add some debug
...
information until the problems can be tracked down. Right now these
are unconditional, but later it will be hidden behind a boot verbose.
Also, if there are no events listed in the event mask, return right
away. Specifically avoid writing back interrupt acks in this case.
2001-06-16 23:26:18 +00:00
Dima Dorfman
1fecc3ff98
Correct a typo in an error message.
2001-06-16 23:15:15 +00:00
Dima Dorfman
fd67620214
Make the synopsis resemble the usage in the source file.
2001-06-16 23:09:12 +00:00
Peter Wemm
46700f1259
Use INTR_TYPE_AV for the interrupt handlers because:
...
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.
Reviewed by: cg (in principle)
2001-06-16 22:59:46 +00:00
Peter Wemm
5a280d9cd1
Add INTR_TYPE_AV so that we can get to the PI_AV priority in the ithread
...
handlers. This is beneficial since it means that pcm's MPSAFE handler
can get run before things that will block on Giant in the shared irq
case.
2001-06-16 22:42:19 +00:00
Peter Wemm
c1e152312d
Clean up some junk. The bogus trapframe on the stack was removed from the
...
MI code in August 2000 elsewhere.
2001-06-16 22:07:32 +00:00
Tor Egge
564efb8fec
Check for the PS_SINTR flag in the right field of struct kinfo_proc
...
(ki_sflag).
2001-06-16 21:39:29 +00:00
Cameron Grant
d95502a838
use a global devclass for all drivers - i'm not entirely sure why this
...
worked before.
mixer, dsp and sndstat are seperate devices - give them their own cdevsws
instead of demuxing requests sent to a single cdevsw.
use the si_drv1/si_drv2 fields in dev_t structures for holding information
specific to an open instance of mixer/dsp.
nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided
using cloning.
various locking fixes.
2001-06-16 21:25:10 +00:00
Wilko Bulte
cfe6aa7862
Add note about partition a better be at offset 0 for a disk to be bootable.
2001-06-16 21:10:54 +00:00
Hajimu UMEMOTO
c56df4e782
less warning
...
warning: cast discards qualifiers from pointer target type
2001-06-16 19:32:37 +00:00
Jonathan Lemon
2b4aa63478
Comply with POSIX rules:
...
o Use %u for printing u_int.
o Cast sizeof() to u_long, and print with %lu
Reviewed by: wollman
2001-06-16 18:55:13 +00:00
David Malone
1c8d1174b7
Give inetd the ability to manage unix domain sockets. Details of
...
how to use this feature are in the man page. This is based on work
by Lyndon Nerenberg.
(The only difficult part about this patch is the fact that you
can't fchown a unix domain socket, which means the sockets must be
put in a secure directory).
Reviewed by: dillon
2001-06-16 18:54:54 +00:00
Nik Clayton
dc6af80701
More tips. I'd never heard of look(1) before.
...
Submitted by: Dru <genisis@istar.ca>
2001-06-16 16:45:52 +00:00
Jens Schweikhardt
03f80507e5
Fix misindented esac.
...
MFC after: 1 week
2001-06-16 15:48:43 +00:00
Alexander Langer
90f76f2df0
Fix "alignemnt" typo.
2001-06-16 15:28:28 +00:00
Nik Clayton
d2c070d4fb
More tips, this time from the Russian Fidonet FreeBSD Echo.
...
And I never knew about ports(7) before.
Submitted by: Alexey V. Neyman <avn@any.ru>
2001-06-16 11:42:28 +00:00
Mark Murray
eb6bd5940f
This file was a horrible mixture of styles old and new.
...
Apply style(9).
2001-06-16 10:47:34 +00:00
Jens Schweikhardt
5935bbab55
Remove ncheck in an example; FreeBSD does not have it.
...
PR: 10158
Submitted by: Remy Card <card@ens.uvsq.fr>
MFC after: 2 weeks
2001-06-16 09:05:24 +00:00
Assar Westerlund
07de0e4353
(do_authloop): handle !KRB4 && KRB5
2001-06-16 07:44:17 +00:00
David E. O'Brien
3f5a93f6d3
Add the ".FreeBSD" symbol so we can do things like ".if define(.FreeBSD)"
...
in Makefile's shared with NetBSD.
2001-06-16 07:27:23 +00:00
Benno Rice
707fed2004
OpenFirmware kernel support, as used by the PowerPC and hopefully other
...
ports later on.
This includes the basic MI interface routines as well as a console driver.
The MD code is kept in the MD directories.
Reviewed by: obrien
2001-06-16 07:17:56 +00:00
David E. O'Brien
20d42fa8eb
This commit was generated by cvs2svn to compensate for changes in r78344,
...
which included commits to RCS files with non-trunk default branches.
2001-06-16 07:16:14 +00:00
David E. O'Brien
e8b30e1e4c
Import the NetBSD 1.5 RC system.
...
Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
2001-06-16 07:16:14 +00:00
David E. O'Brien
9d62501fd8
Import the NetBSD 1.5 RC system.
...
Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
2001-06-16 07:16:14 +00:00
Jonathan Lemon
7b2df3846d
Fix warning (and obviously broken code)
...
77: warning: cast from pointer to integer of different size
2001-06-16 07:15:48 +00:00
Benno Rice
d27f1d4c12
This commit (along with one pending in sys/dev/ofw and one in sys/conf) give
...
us our first minimal glimpse of PowerPC support.
With this code we can get to the "mountroot>" prompt on my Apple iMac. We
can't get any further due to lack of clock and interrupt handling, among other
things. This does however mean that pmap and VM are initialising.
We're fairly dependant on OpenFirmware at this point, but I hope to add
support for other classes of firmware at a later stage.
Reviewed by: obrien, dfr
2001-06-16 07:14:07 +00:00