Commit Graph

13344 Commits

Author SHA1 Message Date
bde
a0131ad117 Fixed reference counting related to relookup(). relookup() must
be called with the directory referenced, and this reference will
be dropped iff relookup() fails, so the value returned must not be
ignored.

Reviewed by:	davidg
1996-03-29 12:30:30 +00:00
bde
6043e95113 Fixed devfs group and permissions of some more disk devices.
Added devfs cd control device.
1996-03-29 11:57:52 +00:00
bde
b8b4cb9e81 Fixed devfs group of some more disk devices.
Added devfs lpt control device (only the standard one, not the ones that
aren't supported by MAKEDEV).

Removed some stupid comments.
1996-03-29 11:54:56 +00:00
bde
084c1ca106 Fixed group of some more disk devices.
Fixed devfs function names.
1996-03-29 11:45:12 +00:00
bde
c66296b1b0 Fixed missing quote in a devfs string. 1996-03-29 11:39:08 +00:00
fenner
fe678071c2 Eliminate panic("rtfree") caused by double-freeing the route
when rt == rt->rt_gwroute .  rt == rt->gwroute shouldn't happen
in the first place, but that's another problem.

(try "route add -host <hostonmynet> <hostonmynet>; ping <hostonmynet>;
route delete <hostonmynet>")
1996-03-29 08:02:30 +00:00
dg
bcaf3321ab Change v_usecount & v_writecount from a short to an int. As shorts they
can and will overflow on large machines - especially on machines with
filesystems with lots of files (like netnews servers), and the result
is a "free vnode isn't" panic or worse.
This fixes one of the causes of these panics that I've been experiancing on
wcarchive.
1996-03-29 06:39:39 +00:00
dg
4d625bffc5 Revert to previous calculation of vm_object_cache_max: it simply works
better in most real-world cases.
1996-03-29 06:28:48 +00:00
scrappy
6bebd36987 Fixed missing variable 'name' for DEVFS code 1996-03-29 04:35:09 +00:00
wollman
787f72eb7d This commit was generated by cvs2svn to compensate for changes in r14895,
which included commits to RCS files with non-trunk default branches.
1996-03-28 21:20:22 +00:00
wollman
808918a21b A sample program for /dev/perfmon 1996-03-28 21:20:22 +00:00
wollman
d2c78b3909 Add /usr/share/examples/perfmon. 1996-03-28 21:17:42 +00:00
wollman
4f10aa1ba0 Sync up the Pentium implementation with the documentation.
Previously, the sense of the E flag was reversed on
Pentiums.
1996-03-28 21:00:29 +00:00
wollman
a2c6be4b6d Document the change in how the START and STOP ioctls operate
(counters can be started and stopped in numerical order brather
than all at once).
1996-03-28 20:57:11 +00:00
joerg
d566ed5bd5 Add bootparams.5.
Obtained from: NetBSD
1996-03-28 20:49:31 +00:00
wollman
0c6a9cd275 >Blush<. Use the correct opcode for the WRMSR instruction. 1996-03-28 20:39:45 +00:00
wollman
0e478acfb7 Nit: according to the Harvard code, it is necessary to clear the timestamp
counter before loading the performance-monitor control register.  I'm
not sure I believe this, but we'll follow their lead for the moment.
As a result of this commit, the performance-monitoring test program that
I wrote now works (the program will find its way to share/examples).
1996-03-28 20:39:20 +00:00
wollman
a607edf559 Teach the disassembler about the 0f,3x family of instructions
(RDMSR, RDTSC, WRMSR, and RDPMC).
1996-03-28 20:35:03 +00:00
jkh
cb41a0ae0e A bug fix and a couple of new modes for the meteor driver.
Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
1996-03-28 20:28:14 +00:00
swallace
36d7c0f69e Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion.
Implement xenix_eaccess() system call.

Obtained from: NetBSD
1996-03-28 19:53:21 +00:00
scrappy
abe7f073d9 Back out change of log from being in /var/run to back in /dev 1996-03-28 18:29:14 +00:00
scrappy
d163509006 Fixed a Typo 1996-03-28 16:51:12 +00:00
bde
edc7662d0a Undid last revision. It duplicated part of second last revision. 1996-03-28 15:40:17 +00:00
bde
82241f73c0 Removed an unused devfs variable again.
Added $Id$.
1996-03-28 15:25:43 +00:00
bde
9c3ddb1006 Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and
rev.1.44 was a subset of them.
1996-03-28 15:03:41 +00:00
scrappy
7dcaa810dc devfs_add_devsw() -> devfs_add_devswf modifications
Reviewed by:	julian@freebsd.org
1996-03-28 14:36:48 +00:00
scrappy
49f25e73b0 syslog.h -> changed /dev/log to be /var/run/log (its a socket, not a device)
devfsext.h -> added prototype for dev_linkf();

Reviewed by:	julian@freebsd.org
1996-03-28 14:35:37 +00:00
scrappy
0567ca9a10 Using devfs_add_devswf() instead of devfs_add_devsw()
Reviewed by:	julian@freebsd.org
1996-03-28 14:33:59 +00:00
scrappy
745bb4c905 Added dev_linkf() function (dev_link() + printf-style arguments)
Reviewed by:	julian@freebsd.org
1996-03-28 14:32:27 +00:00
scrappy
85dc41d2a0 Switched from using devfs_add_devsw() to devfs_add_devswf()
Reviewed by:	julian@freebsd.org
1996-03-28 14:31:42 +00:00
scrappy
3bdc572dfd Added DEVFS support to create ttyv* devices
Reviewed by:	julian@freebsd.org
1996-03-28 14:30:37 +00:00
scrappy
415585985c Switched from using devfs_add_sw() to using devfs_add_swf()
Reviewed by:	julian@freebsd.org
1996-03-28 14:29:52 +00:00
scrappy
f55298f39f Reviewed by: julian@freebsd.org 1996-03-28 14:26:46 +00:00
ache
cbcda5a3cf Directly clear parity area because cfmakeraw not do it 1996-03-28 13:38:59 +00:00
ache
65241f8b90 Back out one of my previous changes: don't clear PARODD,
so return to absolute minimum of changed flags now
1996-03-28 13:33:18 +00:00
jfieber
d22bde6f6e Add a missing quote on an attribute.
Remember, checking for errors before commiting is as simple as typing
`make'.
1996-03-28 12:32:44 +00:00
dyson
a68eed7d53 Remove a now unnecessary prototype from pmap.c. Also remove now
unnecessary vm_fault's of page table pages in trap.c.
1996-03-28 05:40:58 +00:00
dyson
0b00dbdf90 Significant code cleanup, and some performance improvement. Also,
mlock will now work properly without killing the system.
1996-03-28 04:59:34 +00:00
dyson
b37500ce5f Add a function prototype for pmap_prefault. 1996-03-28 04:54:50 +00:00
dyson
903a66b4af VM performance improvements, and reorder some operations in VM fault
in anticipation of a fix in pmap that will allow the mlock system call to work
without panicing the system.
1996-03-28 04:53:28 +00:00
dyson
f766c05521 More map_simplify fixes from Alan Cox. This very significanly improves the
performance when the map has been chopped up.  The map simplify operations
really work now.
Reviewed by: dyson
Submitted by:	Alan Cox <alc@cs.rice.edu>
1996-03-28 04:22:17 +00:00
ache
a835b01176 After real problem is found (flush never occurse), re-enable
software flow control, but re-enable it properly,
idea taken from taylor 'cu'
1996-03-27 22:58:21 +00:00
ache
8e37357d03 Fix typing bug cause flushing never occurse:
TIOCFLUSH -> TCIOFLUSH
1996-03-27 22:28:19 +00:00
wollman
527c495696 A slightly-closer-to-working version that includes code appropriate
to regular Pentiums.  Unfortunately, it doesn't work on mine,
but I'm not sure if this is the fault of the driver.
1996-03-27 22:02:18 +00:00
ache
bb04bf04b1 Use cfmakeraw() instead of all those termios settings 1996-03-27 21:40:55 +00:00
ache
d392938469 cfmakeraw:
clear PARODD bit too, help user program to set its own
parity via |
Set CREAD bit, it is 99% case
1996-03-27 21:29:32 +00:00
ache
53f9b4a901 Cleanup both raw & termianl modes termios flags settings 1996-03-27 21:16:32 +00:00
ache
b33cfa3fa2 Disable ^S/^Q flow control!!! 1996-03-27 20:53:03 +00:00
mpp
822fdcab93 Added missing section numbers to a bunch of .Xr macros, or
converted them into .Fn macros where appropriate.  Also fixed
up some minor formatting problems.
1996-03-27 20:49:07 +00:00
bde
cd9e381ea0 Added drum device.
Submitted by:	partly by "Marc G. Fournier" <scrappy@ki.net>
1996-03-27 20:09:26 +00:00