Commit Graph

1602 Commits

Author SHA1 Message Date
mycroft
0f73b4b80a ep can be on EISA bus. 1994-11-03 16:46:42 +00:00
mycroft
557c715327 Make this actually work. 1994-11-03 16:43:26 +00:00
mycroft
06687c1c8d Make this a little closer to current reality. 1994-11-03 16:25:25 +00:00
mycroft
ea307925ae Clean up deleted files. 1994-11-03 15:55:47 +00:00
mycroft
a5917e2a63 Relocate aha1742.c, in preparation for other changes. 1994-11-03 15:55:40 +00:00
mycroft
0f8e6cf968 Make a copy of the LDT when forking. 1994-11-01 06:49:19 +00:00
mycroft
d296006dca Add USER_LDT. 1994-10-31 21:07:50 +00:00
andrew
20cc8b6c5c Increase NKPDE to cope with 64MB RAM. 1994-10-31 06:30:52 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd
f02d90ac83 code is u_long for sendsig() 1994-10-30 19:18:44 +00:00
cgd
a91a509292 add NFS server functionality 1994-10-29 08:34:06 +00:00
mycroft
9769a6a6f7 Various:
* Forget all cached info when opening a new disc.
* If the disc is removed, flush the buffer queue rather than stalling it.
* Set the default label after getting the disc size, and fill in the info
for RAW_PART also.
* Change another use of the unit number to a softc pointer.
* Use a dkdevice to hold the label and open partition masks.
* Force the partition offset to 0 for RAW_PART, regardless of the label.
* Nuke MCDPHYS() and MCDREADRAW; they had a silly bug that caused the code
to not work, and they aren't useful anyway.
Some other minor cleanup.
1994-10-28 23:39:59 +00:00
mycroft
46ba25f017 Add vnode_if.[ch] to the clean target. 1994-10-28 17:05:29 +00:00
cgd
022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
andrew
5a13863a4b Default to decent performance. 1994-10-27 02:04:18 +00:00
andrew
fc67924047 Merge changes from Wolfgang Stanglmeier's 941012 release. 1994-10-27 02:02:00 +00:00
mycroft
7269ce27cc We don't need to clear the nested trap bit. 1994-10-26 18:45:40 +00:00
mycroft
e75cb9b517 Oops; need spltty() around call to print(). 1994-10-26 18:13:24 +00:00
mycroft
556a119342 Implement *cnpollc(). 1994-10-26 18:06:30 +00:00
mycroft
6371cf2364 Add pccnpollc() and comcnpollc(). 1994-10-26 18:00:13 +00:00
mycroft
fa0bf2b51a Add a comment. 1994-10-26 17:52:22 +00:00
mycroft
e65f99d726 Use pcb_onfault only in the specific cases of protection, alignment, and
page faults.  For all other kernel-mode faults and traps, ignore it.  For
user-mode faults and traps, always ignore it.
Some other minor cleanup.
1994-10-26 17:38:44 +00:00
mycroft
4178f44192 Add a missing item to trap_types[]. 1994-10-26 01:32:51 +00:00
mycroft
7be5732f87 Implement new system call entry method. Clean up all of the IDT frobnication
code.
1994-10-26 01:30:59 +00:00
cgd
3f7c5d3d59 add COMPAT_10 1994-10-25 21:31:32 +00:00
mycroft
7594210178 Slight optimization to remrq(); no need to use/save %esi. 1994-10-25 15:13:44 +00:00
mycroft
0b827ee8ee Add some #defines for the offsets into the bootstrap tables. 1994-10-25 14:46:50 +00:00
mycroft
9f00060fdf Map the kernel text read-only if !DDB. Also, shorten many parts of the page
table startup by judicious application of lea.
1994-10-25 14:31:24 +00:00
deraadt
b415eb1d1d new from christos 1994-10-24 17:37:34 +00:00
mycroft
260ddbefb7 Rearrange ed_init() slightly, to better correspond to the National manual.
Optimize ed_rint() slightly in the case of multiple packets.  (Avoid an outb
and an inb for each packet).
1994-10-23 23:24:56 +00:00
cgd
a6426e2b27 oops; went overboard, and did the user_ldt calls the wrong way. 1994-10-23 21:57:12 +00:00
mycroft
603fe7b5a6 Slight optimization. 1994-10-23 21:38:00 +00:00
mycroft
0114159848 Fix the packet length correction for buggy chips so that it actually works,
and always use it (otherwise short packets could still be corrupted).  Also
produce a diagnostic message if DIAGNOSTIC, since it *is* a hardware bug.
Add an ED_PAGE_SHIFT constant, and use it, to avoid GCC doing horrendous
things with divides and multiplies.
1994-10-23 21:22:13 +00:00
mycroft
a9ef20740a Make this compile with USER_LDT again. 1994-10-20 23:48:21 +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
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
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
cd66683989 openpart -> openmask 1994-10-20 14:08:07 +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
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
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
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
1725b07a35 there are no flags between us (and compiling) any more. 1994-10-18 06:11:15 +00:00
cgd
805605ce56 kill le0. *sigh* 1994-10-17 21:49:51 +00:00