Commit Graph

5587 Commits

Author SHA1 Message Date
mycroft 5e26e46bb4 Clean up deleted files. 1994-12-01 17:34:30 +00:00
chopps 548708dd80 bring up to current. change sun to sunos. handle changes in device
open params and autoconf match function params.
1994-12-01 17:24:23 +00:00
dean 5e8c18eb44 added sigreturn 1994-12-01 16:41:43 +00:00
dean ba0ac0e803 added missing #ifdef DEBUG 1994-12-01 16:41:05 +00:00
mycroft 261751e81d Reimplement union_seek(). 1994-12-01 16:40:34 +00:00
dean d0a26487e7 New syscall stuff 1994-12-01 16:23:20 +00:00
mycroft 331b95bd8a Garbage collect unneeded variable. 1994-12-01 15:39:17 +00:00
mycroft 1b372b7e96 Remove some redundant code. 1994-12-01 13:07:28 +00:00
mycroft 0109779d43 Remove unneeded override of SCSI_NOSLEEP. 1994-12-01 12:45:25 +00:00
mycroft c1cbd9c635 Set UIO residual count. 1994-12-01 12:36:35 +00:00
mycroft 71ab8bb627 Always set the device number correctly, even though we don't need it. 1994-12-01 12:26:37 +00:00
mycroft d18cbacd88 Redux. 1994-12-01 12:12:08 +00:00
mycroft 1066219897 Uncomment call to scsi_user_done(), and remove a duplicate biodone() (and
another si_free()).
1994-12-01 12:04:43 +00:00
mycroft a10cbd7179 Remove the silly statically allocated array, and simply malloc the data
structures as needed.  Also, put the buf in the malloc()ed area.  Remove a
duplicate si_free() (though this was harmless before).
1994-12-01 11:53:56 +00:00
mycroft 8fd1f92ae7 Don't futz with the cursor shape unless we really, really need to. 1994-12-01 11:12:04 +00:00
mycroft 211b002017 Ignore ERR during diagnostics. 1994-12-01 10:45:26 +00:00
mycroft 1056700333 Make sure averunnable.fscale is filled before using it. 1994-12-01 10:16:53 +00:00
mycroft 434d451672 Adjust dump calculation to avoid sign problems. 1994-12-01 09:53:38 +00:00
gwr 1a7920257d Make sure vm_mmap creates mappings with page-aligned file offsets.
Handle non-aligned file offsets in the mmap/munmap system calls.
1994-12-01 00:23:11 +00:00
gwr 0a0c02cd38 Allow vm_page_array to have holes in it so systems that use
MACHINE_NONCONTIG can use a fast, simple pmap_page_index().
1994-12-01 00:19:57 +00:00
jtc 9d831a17b7 Fix order of fields in _MessagesLocale structure to match reality.
Thanks to Niklas Hallqvist.
1994-11-30 22:15:58 +00:00
gwr ed68e042f3 Improve diagnostic in pmap_page_index(). 1994-11-30 22:02:47 +00:00
deraadt cae9130ef6 enable SYSVMSG,SYSVSEM,SYSVSHM 1994-11-30 19:44:53 +00:00
gwr 8c09a8895b Optimize pmap_page_index() and fix some comments. 1994-11-30 15:45:19 +00:00
pk 02e97ec079 Convert SunOS IP multicast socket options. 1994-11-30 09:40:23 +00:00
mycroft 6686f7f263 Rework detection a bit, and check for the Pentium fdiv bug. 1994-11-30 04:42:07 +00:00
mycroft c72f58d401 Don't need to turn on emulation when npx not present; we leave it off always. 1994-11-30 04:26:06 +00:00
briggs c8d7d0f2f5 Re-arrange order of a comparison and compensate for change in device
structure locations.
1994-11-30 02:42:47 +00:00
mycroft 867ebf1d84 Clear the controller active flag after a timeout. 1994-11-30 02:32:03 +00:00
mycroft 5584ff927f Don't stall the queue on CHECK SENSE if we get a reselect while selecting. 1994-11-30 02:08:01 +00:00
deraadt 12af703502 wait for ack from chip 1994-11-29 22:35:20 +00:00
mycroft 639a64de08 Fix a null pointer reference. 1994-11-29 21:35:13 +00:00
mycroft 51bed8d804 Add an assertion mechanism to check for more abnormal conditions. 1994-11-29 21:29:56 +00:00
mycroft 58cb5339d6 For consistency... 1994-11-29 20:57:28 +00:00
mycroft 41b26a6dfd Handle BUS FREE phase a little differently, to get better error detection. Other
cleanup.
1994-11-29 20:08:27 +00:00
mycroft bb90feebac Disable debugging breakpoints by default. 1994-11-29 17:56:49 +00:00
mycroft 5ac2484d95 * Redo most of the message and phase state machines. Multiple pending
message outs should now work correctly (including retransmissions).
Multiple messages ins should be more efficient.  Missing REQ after
reselection phase should now (correctly) cause a wait with ENREQINIT
set.

* Abstract out the reselection out sequence, and use it directly to
get sense info.  (This is somewhat faster than the generic done/sched
sequence.)

* If there are no ACBs available, wait interruptibly for one.

* Leave the interrupt registers alone during message in/out; just
watch for phase change.  Don't (incorrectly) reenable interrupts
during data in/out; defer that to aicintr().

* Handle command pointer per SCSI 2 spec.

* Other minor coding improvements.
1994-11-29 17:50:39 +00:00
briggs e054795fb3 "../scsi/*.h" -> <scsi/*.h> 1994-11-29 03:43:52 +00:00
briggs 81828a6a38 Boolean goof. (True) 1994-11-29 03:38:48 +00:00
briggs a9262a3090 SUN_SYS_sigreturn -> SUNOS_SYS_sigreturn 1994-11-29 03:37:37 +00:00
gwr 4bf773963e Update a comment to match code... 1994-11-28 19:33:08 +00:00
gwr c2466a5ffa The sun3 port now has its own db_read_bytes() too. 1994-11-28 19:29:14 +00:00
gwr b57d4010ce Fix syscall arg copyin, etc. 1994-11-28 19:17:07 +00:00
gwr 0caf3c47cb cosmetic 1994-11-28 19:13:18 +00:00
dean fcf0991366 new asc.c from Ralph Campbell 1994-11-28 19:05:54 +00:00
dean 2a5cfe5b41 fix from Jonathan Stone 1994-11-28 18:45:39 +00:00
dean 1e9a7e3573 some fixes and Ultrix compat stuff from Jonathan Stone. 1994-11-28 18:42:21 +00:00
dean 363152617f Ultrix compat stuff from Jonathan Stone. 1994-11-28 18:41:31 +00:00
dean 5b1da4bc9b Removed fp.S 1994-11-28 16:28:20 +00:00
briggs c02010b599 Add a dk_establish null routine. Clean up some whitespace. Needs a
real overhaul.
1994-11-28 04:43:51 +00:00