John Baldwin
f46305730e
Grab the scheduler lock before calling setrunqueue() and mi_switch().
2000-09-14 22:17:34 +00:00
Brian Somers
495d24ec4a
Fix some style nits
2000-09-14 22:03:13 +00:00
Brian Somers
481a4f6155
Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist
...
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
2000-09-14 22:02:54 +00:00
Matt Jacob
bce679f2a9
With the help of 'Eric Christeson <echriste@ssesco.com>', determined
...
that QIC 525 really should be 512 byte fixed blocksize.
2000-09-14 21:38:44 +00:00
Jonathan Lemon
a8db1d93f1
m_cat() can free its second argument, so collect the checksum information
...
from the fragment before calling m_cat().
2000-09-14 21:06:48 +00:00
John Baldwin
606f8eb27a
Remove the mtx_t, witness_t, and witness_blessed_t types. Instead, just
...
use struct mtx, struct witness, and struct witness_blessed.
Requested by: bde
2000-09-14 20:15:16 +00:00
Jonathan Lemon
6f451c99b3
Pipes are not writeable while a direct write is in progress. However,
...
the kqueue filter got the sense of the test reversed, so fix it.
Spotted by: Michael Elkins <me@sigpipe.org>
2000-09-14 20:10:19 +00:00
Mark Murray
07ef427609
Take out the RANDOMDEV option. The entropy device is a (pseudo-)device
...
now.
2000-09-14 20:07:32 +00:00
Mark Murray
8680b887a2
Silence the perl build a lot; particularly in the case where a
...
"make all" is being done on top of a "make buildworld", and nothing
needs making.
Asked for by: jkh
2000-09-14 19:58:07 +00:00
Garrett Wollman
67c31d5008
Some more slight doco fixes: update date, and add a bit more to the history.
2000-09-14 19:20:17 +00:00
Eivind Eklund
98d39ed48b
Add function comments for functions missing them
2000-09-14 19:13:59 +00:00
Garrett Wollman
f62eaadff1
Allow tftpd to run as a specified user, not just `nobody'.
...
Update documentation to reflect new option. Also fix documentation
style and add missing references.
PR: 21268
Submitted by: "Aleksandr A. Babaylov" <babolo@links.ru>
Reviewed by: imp
2000-09-14 19:08:29 +00:00
Jordan K. Hubbard
c137d6780d
cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../.. Fix ioctl.c creation to deal with the depend case more properly.
...
Submitted by: Ruslan Ermilov <ru@sunbay.com>
2000-09-14 18:53:08 +00:00
Jordan K. Hubbard
d9f61e83b6
Fix ioctl.c creation to deal with the depend case more properly.
...
Submitted by: Ruslan Ermilov <ru@sunbay.com>
2000-09-14 18:52:48 +00:00
Eivind Eklund
1d95078aaf
Blow away COMPAT_43 support for mount
2000-09-14 18:11:44 +00:00
Brian Somers
2231246bb3
Understand IPPROTO_ESP and IPPROTO_AH packets
...
Submitted by: Angelos D. Keromytis <angelos@dsl.cis.upenn.edu>
2000-09-14 18:01:54 +00:00
Mark Murray
fb90f7b3aa
Make the [u]random device's permissions match those in the matching
...
make_dev() call.
At the moment, it is an error for anyone but root to write to this
device (EPERM), and the permissions don't suggest that. Soon, however,
anyone will be able to write here, but only root will cause an implicit
reseed.
2000-09-14 17:48:47 +00:00
Brian Somers
9ed55d1192
Another overhaul of the periodic stuff.
...
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8). Output may be masked based on variable values in
periodic.conf.
It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.
The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).
PR: 21250
2000-09-14 17:19:15 +00:00
Eivind Eklund
cb144e905c
GC vax-only code
2000-09-14 16:51:47 +00:00
MIHIRA Sanpei Yoshiro
2e9cc0ee8f
"fe" driver was newbus'ify and bus_space'ify by nyan.
...
comment-in "XXX NOT SUPPORTED YET" cards
which was supported by "fe" driver.
2000-09-14 16:20:52 +00:00
David E. O'Brien
6c5d644183
Install the kernel KLM as "kernel" by default.
2000-09-14 15:17:19 +00:00
Matt Jacob
c99918f36e
Follow the hints from PHK's new messages- only make_dev for a device
...
once. Alias names use the make_dev_alias function.
2000-09-14 14:53:57 +00:00
Ruslan Ermilov
e30177e024
Follow BSD/OS and NetBSD, keep the ip_id field in network order all the time.
...
Requested by: wollman
2000-09-14 14:42:04 +00:00
Doug Rabson
5dde620ab1
Change "KTR_COMPILE & m" to "KTR_COMPILE & (m)" to allow more flexible
...
expressions for m.
2000-09-14 13:07:05 +00:00
Doug Rabson
c090a2b4e5
Don't release Giant for db_nofault exceptions since it isn't held when
...
kdb_trap is called.
2000-09-14 13:04:38 +00:00
Ruslan Ermilov
3e8d5c239e
There is no reason to clobber ${DESTDIR}/usr/include/{isofs,ufs,dev}
...
in SHARED=copies case since all symbolic links previously created by
SHARED=symlinks install have already been removed to that point.
PR: misc/21150
2000-09-14 12:12:23 +00:00
Yoshihiro Takahashi
b14d7dac8a
- Newbus'ify and bus_space'ify.
...
- Separate bus dependent part and independent part.
- Moved source files to sys/dev/fe (repo copied).
- Fixed some comments by chi@bd.mbn.or.jp (Chiharu Shibata)
Tested by: bsd-nomads@clave.gr.jp and
FreeBSD98-testers@jp.freebsd.org
2000-09-14 12:02:07 +00:00
Yoshihiro Takahashi
c400e7405e
- Changed the structure name (struct disk -> struct softc).
...
- Converted to disk_create() interface.
- Removed unnecessary code.
2000-09-14 11:45:31 +00:00
Roger Hardiman
5c1a8c13c7
Add Quicknet LineJACK and PhoneJACK cards
2000-09-14 08:51:27 +00:00
Jordan K. Hubbard
6b61687292
remove .PHONY to avoid gratuitous rebuild of ioctl.c each time.
...
Approved by: sef
2000-09-14 06:20:19 +00:00
Warner Losh
38d6ecd20c
Another Sept 5 change forces a new mountd since the old mountd panics
...
the kernel, according to Mike Smith.
2000-09-14 06:04:44 +00:00
Bruce Evans
d760d77067
Fixed breakage of installation of kbdcontrol.1 in previous commit.
...
Fixed style bugs.
2000-09-14 05:29:42 +00:00
Peter Wemm
09344c2742
Activate the rest of the aac driver, otherwise even GENERIC fails to build.
...
Forgotten by: msmith
2000-09-13 23:50:40 +00:00
Garrett Wollman
c2bb3a3e02
Fix compilation problems and bounds-checking bug in `ifinfo'.
...
PR: 21177
Submitted by: Craig Leres <leres@ee.lbl.gov>
2000-09-13 19:53:54 +00:00
John Baldwin
9a94c9c5c3
- Remove the inthand2_t type and use the equivalent driver_intr_t type from
...
newbus for referencing device interrupt handlers.
- Move the 'struct intrec' type which describes interrupt sources into
sys/interrupt.h instead of making it just be a x86 structure.
- Don't create 'ithd' and 'intrec' typedefs, instead, just use 'struct ithd'
and 'struct intrec'
- Move the code to translate new-bus interrupt flags into an interrupt thread
priority out of the x86 nexus code and into a MI ithread_priority()
function in sys/kern/kern_intr.c.
- Remove now-uneeded x86-specific headers from sys/dev/ata/ata-all.c and
sys/pci/pci_compat.c.
2000-09-13 18:33:25 +00:00
John Baldwin
220ca3ff5e
- Fix spinlock exiting to handle recursion properly and only enable
...
interrupts at the proper time.
- Remove an uneeded test and just always set the MTX_RECURSE bit when
recursing on a sleep lock.
2000-09-13 18:28:14 +00:00
John Baldwin
699fbdc2ab
- Fix spinlock exits to properly handle the recursion count and only
...
re-enable interrupts when actually releasing the lock.
- Bring across some fixes to propagate_priority from the x86 code.
(It still doesn't work properly, however.)
- Use the SMTX state when putting a process that blocks on a mutex to sleep.
- Use mi_switch instead of cpu_switch so that accounting works properly as
well as other things.
- Bring across DDB protection of the spinlock timeout panic which is useful
in a multiple CPU system when 1 CPU enters the debugger holding the
sched_lock so that the other CPU doesn't panic as well resulting in all
sorts of fun things.
- Bring across various other small changes in format strings and comments
to sync up with the x86 code.
2000-09-13 18:26:33 +00:00
John Baldwin
5010ef836a
Import the global sched_lock variable instead of using a private copy. This
...
fixes a problem where cpu_switch() wasn't properly saving and restoring
the recursion count for sched_lock.
2000-09-13 18:22:53 +00:00
John Baldwin
7ce7aa2a0b
Fix a comment, we have mutexes now instead of a single lock.
2000-09-13 18:22:07 +00:00
John Baldwin
8dc1deec65
Add back in obtaining/releasing Giant around interrupt handlers.
2000-09-13 18:21:33 +00:00
Bruce A. Mah
f207b58535
New release note: aac driver.
2000-09-13 16:00:54 +00:00
Bruce Evans
d3f209631e
Be more careful about cleaning up the stack after function calls early
...
in the boot. The cleanup must be done in one of the few ways that
db_numargs() understands, so that early backtraces in ddb don't underrun
the stack. The underruns caused reboots a few years ago when there
was an unmapped page above the stack (trapping to abort the command
doesn't work early).
Cleaned up some nearby code.
2000-09-13 14:08:50 +00:00
Julian Elischer
5dccc9f05b
Fix small typo in sample code.
...
Submitted by: Jean-Marc Zucconi <jmz@FreeBSD.org>
2000-09-13 13:37:48 +00:00
Sheldon Hearn
82cb0dd6de
Pass a useful pathname to rlink(). Many thanks to the PR originator
...
for all the debugging work.
PR: 21017
Reported by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Submitted by: Jos Backus <josb@cncdsl.com>,
2000-09-13 12:54:33 +00:00
Bruce Evans
9c15b3c143
Fixed hang on booting with -d. mtx_enter() was called on an uninitialized
...
lock. The quick fix in trap.c was not quite the version tested and had no
effect; back it out.
2000-09-13 12:40:43 +00:00
KATO Takenori
715ca46f5c
Merged from sys/isa/sio.c revision 1.312.
2000-09-13 10:14:43 +00:00
KATO Takenori
a0859935f5
Merged from sys/i386/conf/GENERIC revision 1.275.
2000-09-13 10:11:30 +00:00
KATO Takenori
9f936f8596
Merged from sys/i386/conf/GENERIC revision 1.274.
2000-09-13 10:10:34 +00:00
David Malone
ef01ff6408
Add kbdmap.5 to build.
...
Refer to kbdmap(5) from a few man pages.
Remove it from TODO list.
Add missing FreeBSD tags.
PR: 19260
2000-09-13 09:16:57 +00:00
David Malone
e7edfbf501
Man page for the file format accepted by "kbdcontrol -l".
...
PR: 19260
Reviewed by: sheldonh
2000-09-13 09:02:07 +00:00