Commit Graph

5166 Commits

Author SHA1 Message Date
mycroft
a9ef20740a Make this compile with USER_LDT again. 1994-10-20 23:48:21 +00:00
mycroft
425e5f67f0 Reran makesyscalls.h. 1994-10-20 23:23:46 +00:00
mycroft
be01ae1904 Fix typo in description of syscallarg.h. 1994-10-20 23:22:38 +00:00
mycroft
97c2b52714 Minor change; use proc_reparent(). 1994-10-20 22:54:35 +00:00
mycroft
be18e790ff Get the label sector right if there is no NetBSD partition in the MBR. 1994-10-20 22:44:37 +00:00
mycroft
79e18619fb Add a cpu_cleanup() function, to support some experimental code. 1994-10-20 22:43:23 +00:00
briggs
a509897f98 Before I forget... 1994-10-20 21:21:02 +00:00
mycroft
d2b4ef0319 Don't try to load p_priority from the run queue head. 1994-10-20 20:47:53 +00:00
mycroft
e5d974c51f First cut at making user-level SCSI commands work. This is untested.
Partly from John Brezak.
1994-10-20 20:31:23 +00:00
mycroft
3e30a415ae Be careful not to stack multiple timeouts. 1994-10-20 19:22:01 +00:00
mycroft
4d072c5435 Remove the local timeout mechanism, and just use explicit timeout()/untimeout()
calls.
1994-10-20 18:37:45 +00:00
mycroft
c11a06cbc2 Always set d_secsize to 512 for now. 1994-10-20 17:03:09 +00:00
mycroft
b8ab5f65d1 Back out change to print geometry from label at boot; can't do this reliably. 1994-10-20 16:54:44 +00:00
mycroft
0862d07daf Don't switch to single-sector mode just because we got a corrected error. 1994-10-20 16:36:21 +00:00
mycroft
d4153fff4d Rearrange wdcstart() in a more logical fashion, and eliminate many redundant
calculations.  Also, speed up bad block searching a little.
1994-10-20 16:19:08 +00:00
mycroft
7d391c250d Fix minor omission. 1994-10-20 14:10:18 +00:00
mycroft
cd66683989 openpart -> openmask 1994-10-20 14:08:07 +00:00
mycroft
bb12b9c8a2 Trivial stylistic changes. 1994-10-20 14:05:08 +00:00
mycroft
caaeda044b Similar changes to sd.c. 1994-10-20 14:03:38 +00:00
mycroft
b1568d887e Use the block size in the label in most cases. 1994-10-20 13:50:38 +00:00
mycroft
cae71ba91d Various changes:
* Add a dkdevice; move sc_*openpart, sc_label, and sc_cpulabel into it.
* Turn sc_wlabel into a flag, and don't set it automatically in DIOCWLABEL.
* If there is no label, disallow all I/O except to the raw partition.
* Don't allow I/O to `unused' partitions.
* Beginnings of support for block sizes other than 512 bytes.
Other minor changes.
1994-10-20 13:44:46 +00:00
mycroft
d5b3572f5c Various changes:
* Get rid of unused `partflags'.
* Use dk_openpart, and remove `openparts'.  Also, allow an open on both
the block and characters devices at the same time.
* If there was a label, print the geometry from the label at boot time.
* Turn `wlabel' into a flag, and *don't* set it automatically in
DIOCWLABEL; disklabel(8) does that.
Other minor changes.
1994-10-20 13:33:36 +00:00
cgd
70d91988ab update for new syscall args description mechanism 1994-10-20 05:34:04 +00:00
cgd
d4bf824ec2 update for new syscall args description mechanism 1994-10-20 05:17:21 +00:00
cgd
fdc5c13d94 update for new syscall args description mechanism 1994-10-20 05:02:13 +00:00
cgd
74d7436a91 pay a small amount of lip service to the new syscall args mechanism.
In reality, none of these will compile.
1994-10-20 04:47:31 +00:00
cgd
5aea0d3fd2 update for new syscall args description mechanism 1994-10-20 04:46:23 +00:00
mycroft
cb4e5ecaa5 Print a single `soft error' message when an operation was retried and
eventually completed successfully.  Also fix fsbn numbers in diskerr() calls.
1994-10-20 04:46:17 +00:00
cgd
77e4fe47ef update for new syscall args description mechanism 1994-10-20 04:43:21 +00:00
deraadt
3c8b6feab0 better #ifdef's 1994-10-20 04:40:58 +00:00
cgd
9da8a598cd update for new syscall args description mechanism 1994-10-20 04:38:33 +00:00
cgd
f59b086d9c one minor mod... 1994-10-20 04:37:09 +00:00
cgd
0da612d076 update rcsid 1994-10-20 04:32:39 +00:00
mycroft
b7c9fb174f Clean up deleted files. 1994-10-20 04:29:36 +00:00
cgd
6f353db960 update for new syscall args description mechanism 1994-10-20 04:28:10 +00:00
cgd
fa90479d67 update for new syscall args description mechanismcd 1994-10-20 04:27:44 +00:00
cgd
6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd
f0c1138373 update for new syscall args description mechanism, and deal safely
with wider types.
1994-10-20 04:20:55 +00:00
mycroft
b2d8a64ebd Make another printf() #ifdef FD_DEBUG. 1994-10-20 03:38:13 +00:00
mycroft
872999d392 Make the verbose diagnostics #ifdef FD_DEBUG. 1994-10-20 00:52:23 +00:00
cgd
36ac18735f fix pr 528; don't define struct if_data inside another structure. 1994-10-19 20:57:56 +00:00
phil
20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
mycroft
70e27da16b Fix up some printfs and make them consistent. 1994-10-18 18:24:35 +00:00
mycroft
8ae8b4ab29 Bug fixes from Rafal Boni:
* Set promiscuous mode flag before configuring card, so it actually works.
* Handle failed TDR commands correctly.
* Remove some apparently defunct and bogus code.
(This driver needs more work.)
1994-10-18 13:40:30 +00:00
cgd
4eb752cd51 make the "wait on swbuf" message SDB_IO -- it's I/O related, and it's
not at all anomalous (and bloody annoying!) on 4M machines.
1994-10-18 06:42:28 +00:00
cgd
90f2c4f70a DEBUG and/or DIAGNOSTIC shouldn't cause thing to be printed for "normal"
cases, unless the user explicitly requests it.  add variable
startinit_verbose to control init-starting messages.
1994-10-18 06:28:06 +00:00
cgd
1725b07a35 there are no flags between us (and compiling) any more. 1994-10-18 06:11:15 +00:00
cgd
bd6d113b69 change a number 1994-10-18 04:27:30 +00:00
jtc
8c34217adb The ns32k uses IEEE, not vax, floating point arithmetic.
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd
805605ce56 kill le0. *sigh* 1994-10-17 21:49:51 +00:00