Commit Graph

3980 Commits

Author SHA1 Message Date
ache
a2d7fb4596 Now:
adjkerntz -i writes kernel clock only, don't touch RTC clock
adjkerntz -a writes RTC clock only, don't touch kernel clock
1994-11-01 06:20:52 +00:00
ache
403a183e90 Implement CPU_ADJKERNTZ in different way: call resettodr()
on writting this variable. adjkerntz pgm changes will follow.
1994-11-01 06:04:12 +00:00
pst
4c5df449bb Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulator
created by Amancio Hasty (specificly, this, in conjunction with his sound
driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to
run under FreeBSD 2.x.)
1994-11-01 01:47:22 +00:00
jkh
89ef070565 Latest changes from Uben.
Submitted by:	uben
1994-10-31 23:58:04 +00:00
phk
d729b2d813 Changed RAW_PART to RAWPART so it comes from disklabel.h.
Force RAW_PART to have the right size.
Set d_secperunit in the disklabel.
1994-10-31 23:45:40 +00:00
jkh
aacc867288 Make patch rule pick up everything in patchdir alphabetically.
No need to call it `patch-aa' if you can simply call it `aa', etc.
1994-10-31 22:51:09 +00:00
joerg
e30d6c3284 Included the fdcontrol subdir. 1994-10-31 21:51:25 +00:00
jkh
635b316156 Expunge the stain I left upon this code. My '/' fix was utterly
bogus.  Thanks, Boyd!
1994-10-31 18:00:06 +00:00
joerg
828694f3b3 Added hooks for an easy drop-in of the pcvt concole driver.
Don't panic:-), this is simple stuff just doing exactly the same as for syscons.
(files.i386 did already contain the necessary stuff.)
1994-10-31 17:20:15 +00:00
ats
83d2480af3 Added a reference for the GENERIC kernel. 1994-10-31 10:03:51 +00:00
ats
f26e858552 Changed all occurences of GENERICAH/GENERICBT to a simple GENERIC in the
man pages.
1994-10-31 09:52:23 +00:00
pst
0731138cfb Detect old-style multicast routers and interoperate properly 1994-10-31 06:36:47 +00:00
phk
6085fb43ea changed '#ifdef i386' to '#ifdef __i386__' 1994-10-31 06:31:14 +00:00
ache
8c4e4ab40c Don't make too big windows, count actually text width/height 1994-10-31 04:49:15 +00:00
ache
79262b9907 Change hardcoded 24x80 to LINES-1, COLS
Remove compiler warning
1994-10-31 04:07:43 +00:00
ache
56f3cb7200 Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
ache
0a31f7f9d2 Add SIGTERM reaction -- cleanup 1994-10-31 03:07:39 +00:00
ache
1182d55050 More verbose diagnostic, if fails 1994-10-31 03:03:18 +00:00
ache
3005b16726 Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry 1994-10-31 01:48:48 +00:00
ats
9749aa05d4 Deleted the private clean/cleandir targets in the Makefile. Delete
a hardcoded reference to the "obj" dir. So this makefile should now
work with and without an obj dir and deletes the obj dir with a
normal cleandir.
1994-10-31 01:17:24 +00:00
ats
f5e43582ce Delete the clean and cleandir target and let the bsd.prog.mk do the
work. Error was with the private clean/cleandir pair, the obj under
include/rpcsvc doesn't get cleaned out.
1994-10-31 00:42:20 +00:00
bde
3e82d5d1af Give up instead of looping endlessly for unknown speeds. 1994-10-30 21:01:04 +00:00
joerg
e17a155025 Documented the FDSEEKWAIT option. 1994-10-30 20:57:07 +00:00
bde
0fd8708366 Print "(null)" instead of crashing for null strings. Null names are
often generated for stack traces.  Now inspection of unmapped addresses
no longer panics the system.
1994-10-30 20:55:44 +00:00
bde
914c0040f7 Don't include isa.c! How did it link?
Otherwise clean up the includes.  Don't include anything included by
param.h.  Do include systm.h and cons.h to avoid satisfy -Wimplicit.
Don't include console.h or use NOKEY because these are for syscons
and we use generic consoles.

Don't follow null pointer for command "ls -lrt" - don't allow extra
args but do allow trailing blanks.

Check for invalid device numbers.  strtol() failures are now checked
for in all cases, but not carefully enough.  We should check for
trailing junk, allow any base in all cases (just like config) and
handle signs better . (Use strtoul not strtol and cast by assignment
to the correct type - always an integral type, PARM_ADDR is bogus.
Hex numbers > 0x7fffffff can't be entered now.  0xffffffff has to
be entered as -1.)
1994-10-30 20:44:20 +00:00
bde
a783d885ad Fix selector arg to match the (missing) prototype for sdtossd().
Cosmetic.

Return from trap() if trap_fatal() returns.  trap_fatal() isn't
fatal if you have ddb.  Returning from trap() is usually the right
thing to do and much better than falling through.
1994-10-30 20:25:21 +00:00
bde
0063d3482f Fix selector arg to match the (missing) prototype for ssdtosd().
Cosmetic.
1994-10-30 20:23:23 +00:00
bde
d40b360d4a locore.s:
Build a dummy frame at the top of tmpstk to help debuggers trace the stack
when the system is idle.

swtch.s: idle():
Initialize the frame pointer so that debuggers don't try to trace a bogus
stack.

Load the frame pointer, load the stack pointer and switch out the old
stack in the unique order that never leaves one of the pointers pointers
invalid so that debuggers can trace idle().  Disabling interrupts
provides sufficient validity for normal operation, but debuggers use
(trace) traps.
1994-10-30 20:09:13 +00:00
joerg
9d51f95b03 Several minor fixes to the floppy driver:
.	avoid resetting the FDC every time the last motor is going off;
	instead, give it a 60-second period for possible later reactivation.
	This prevents us from needing to recalibrate the FDC too often,
	but still allows for an ``automagic error recovery', just in case the
	controller is absolutely stuck. (Simply wait for 60 seconds, and
	try it again.)

.	made the floppy head settle time after a seek a constant
	that might be overridden by a config option. (Well, actually the
	divisor of the settle time). Pepople often reported problems with
	their floppies, so i need a simply mechanism that allows them
	to play with that value. (I personally cannot find any problem
	on *my* drives.)

.	implement the FD_DEBUG ioctl command, in case the driver
	is compiled with DEBUG turned on.

.	removed a bogus parameter from a printf; the remaining warnings
	from gcc -Wall seem to be warnings about the %b format gcc cannot
	understand

.	rearrange Garett's code to fit better in the existing structure
	of #define/type/function ordering.

.	make everything fit into 79 columns again.
1994-10-30 20:04:40 +00:00
bde
b2f61b7e1b Don't attempt to free null cblocks. There may be less to free than
normal due to cblock resource starvation or malloc() failing when
the device is opened.
1994-10-30 19:43:49 +00:00
joerg
3f55583af0 Included the command definition for FD_DEBUG.
This way, it's possible for a user to activate/deactivate floppy driver
debugging, even if (s)he doesn't like the overhead of running DDB.
Since some ppl tend to have problems with their drives, this might be
valuable for investigations.
1994-10-30 19:17:39 +00:00
joerg
8e6433b762 This commit was generated by cvs2svn to compensate for changes in r4007,
which included commits to RCS files with non-trunk default branches.
1994-10-30 18:52:01 +00:00
joerg
5d1a6c44a1 Import the fdcontrol command. It has been in 1.1.5, but obviously has been lost on its way to 2.0.
This program uses the FD_DEBUG ioctl, which will have to be commited yet.
1994-10-30 18:52:01 +00:00
joerg
d9ece1ef04 Fixed a type. 1994-10-30 18:23:22 +00:00
joerg
5124632dfc daily:
Leave a warning to the sysop if (s)he didn't yet
	enable the /tmp cleanup code.
	Made `core' in the cleanup template look `*.core'.
	Replace `df -k' by `df -k -t local', since the stats
	for kernfs, procfs etc. are not of much interest, and
	the inclusion of nfs systems might  hang the machine (nor is it a
	`disk' statistic as the headline's telling).
weekly:
	Modified the locate.updatedb part to work even if there's no
	database yet; report errors other than `Permission denied' instead
	of silently ignoring all of them.
	Added functionality to rebuild the whatis database once a week.
1994-10-30 18:20:58 +00:00
ache
6dcd32748c Add commented out startup locale setup, needed for some daemons
like comsat
1994-10-30 04:33:57 +00:00
ache
3c59c5a8ee More 8bit/ctype fixes, command mode 1994-10-30 04:05:50 +00:00
ache
2dcd3b75fb Make window 8bit clean and ctype oriented.
Fix restart after ^Z hang.
1994-10-30 03:09:58 +00:00
ache
efe303f9ea Fix hang on exit: needs to restore SIGIO reaction _before_
tcsetattr, because tcsetattr cause SIGIO in wakeup
1994-10-30 01:43:09 +00:00
ats
2a18c89772 Submitted by: Paul F. Werkowski
Add a quirk line for the SONY SDT-5000 like it is done for the WangDAT tapes.
1994-10-30 00:30:27 +00:00
wollman
7f7d77442e Delete vax' (and i386' and `hp300' etc.) namespace pollution.
Our one supported compiler always defines the double-underscore variant,
so always use that.

Noticed by Bruce Evans after a report by John Capo.
1994-10-30 00:21:30 +00:00
ache
5f5b6bfa6f write ptys use _the_same_ tsleep/wakeup address as read ptys due to
mistype, fixed.
1994-10-29 23:59:48 +00:00
pst
00c9120b02 add md5 1994-10-29 23:58:55 +00:00
pst
70e126010a This commit was generated by cvs2svn to compensate for changes in r3995,
which included commits to RCS files with non-trunk default branches.
1994-10-29 23:58:02 +00:00
pst
51b49316ee Incorproate version of md5 placed into public domain by RSA. 1994-10-29 23:58:02 +00:00
jkh
e084b0d8fb Make this documentation more sane in the context of 2.0. 1994-10-29 13:13:40 +00:00
phk
456abd1fd5 The latest hacks to make a release with. 1994-10-29 12:48:12 +00:00
phk
c7f3914b94 Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.
1994-10-29 12:47:44 +00:00
phk
3053743aee Fixed another bunch of problems. I belive we are in a working shape now. 1994-10-29 12:03:59 +00:00
phk
591c70bf49 Add back a "is" variable which was removed by accident. 1994-10-29 10:19:32 +00:00