10747 Commits

Author SHA1 Message Date
mycroft
c81c637ee3 Return EIO when the drive is empty. 1994-11-21 11:37:26 +00:00
mycroft
7a1dcbfac6 Clean up open and close routines somewhat. 1994-11-21 11:28:47 +00:00
mycroft
fd32202948 Replace dev_unit with device_softc in scsi_link. Change argument to foostart()
to void*.
1994-11-21 10:39:09 +00:00
deraadt
d3408abf29 C error 1994-11-21 01:56:38 +00:00
mycroft
5bd4115690 Add some missing locking, and some general cleanup. 1994-11-20 22:36:43 +00:00
mycroft
d2d4dc4654 Use immediate constants for port numbers < 0x100. 1994-11-20 21:36:44 +00:00
deraadt
52bf7567d8 new syscalls 1994-11-20 21:31:32 +00:00
deraadt
5677e59c0a ptrace from chs+@CS.cmu.edu, poll from christos 1994-11-20 21:31:10 +00:00
deraadt
7eb1e52253 sunos ptrace & poll emulation 1994-11-20 21:30:03 +00:00
deraadt
2e57b94fb7 improve VMIN/VTIME emulation (from chs+@CS.cmu.edu) 1994-11-20 21:29:33 +00:00
deraadt
274a90762d copyright/Id cleanup 1994-11-20 20:51:32 +00:00
christos
f63115591a Included <sys/cdefs.h> since this file is now using __signed.
It broke non gnu compilers.
1994-11-20 18:50:18 +00:00
jtc
56f3c5d8ba Added -xpg3 and -xpg4. 1994-11-20 08:35:06 +00:00
mycroft
9a3840f2f0 Stylistic changes. 1994-11-18 22:25:12 +00:00
mycroft
79a1309e3c Remove Xwild; it's no longer used. 1994-11-18 22:22:40 +00:00
mycroft
e075f8c13d Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 22:18:35 +00:00
mycroft
61800cfa25 Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 22:07:32 +00:00
mycroft
35cdd801e6 Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 21:57:40 +00:00
jtc
1bd8c27e8b Private versions of cat*() functions now have only one leading underscore. 1994-11-18 15:38:32 +00:00
jtc
6dca60107b XPG3 says that catclose returns an int.
Changed manpages to note that cat*() functions conform to XPG3.
Changed "private" versions of functions to have only one leading
underscore.
1994-11-18 15:36:11 +00:00
christos
153d76736d syscalls.master was changed; added a couple of new header files. 1994-11-18 02:56:09 +00:00
christos
2859b1c634 Rework streams emulation so that it does not rely on non portable hacks.
We keep streams state in so->so_ptcb; this field is unused in all the kernel.
Fix poll(2) timeout computation; add hrtsys and waitsys syscalls.
1994-11-18 02:53:37 +00:00
christos
70e6f7edb8 Don't VOP_UNLOCK the vnode on a cloning operation. vput() will do it for
us.
1994-11-18 02:48:58 +00:00
christos
6ffe559acb Added ifdef COMPAT_SVR4 to enable the emulation code. 1994-11-17 20:35:37 +00:00
christos
3e935d8a0d Added ifdef COMPAT_SVR4 to the kernel compat code needed. 1994-11-17 20:27:10 +00:00
mycroft
b8ab0d3235 Clean up deleted files. 1994-11-17 17:39:55 +00:00
glass
634aea7490 fix bug #554. rdate man page now says rdate(8) 1994-11-17 17:39:54 +00:00
mycroft
a4aea8ad25 Round struct lfs to 512 bytes. 1994-11-17 16:58:41 +00:00
jtc
8e2c0fe739 Unconditionally call tzset() in internal function localsub(), so that
localtime() and mktime() conform to POSIX.1.
1994-11-17 08:47:21 +00:00
mycroft
f9bd7a53d4 Clean up deleted files. 1994-11-17 08:28:23 +00:00
jtc
b2fe91d9f0 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 08:27:58 +00:00
jtc
31ce5c89d3 imported from 4.4lite 1994-11-17 08:09:45 +00:00
jtc
9afe744ec4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:55:49 +00:00
jtc
373b32ea19 fix typo 1994-11-17 07:40:43 +00:00
jtc
88d0435bc7 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-17 07:39:34 +00:00
jtc
a8bfd3d17a Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
jtc
c0b8fbbaad Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id convention.
1994-11-17 06:59:37 +00:00
gwr
2bad33d88e Implements db_write_bytes() for the sun3.
(Needed now that kernel text is read-only 8-)
1994-11-17 05:08:55 +00:00
gwr
81839ca1f7 The sun3 needs its own version of db_write_bytes() so just
added #ifndef sun3 around it for now.  This function should
probably be provided by each port (like sun3/db_write.c).
1994-11-17 05:04:35 +00:00
gwr
df82cd38bb Make x/a print the address; simplify slightly. 1994-11-17 04:51:50 +00:00
christos
fc8e694056 Fixed error svr4 error code mapping; my old attempt was a noop. 1994-11-16 20:14:42 +00:00
deraadt
38483bbbf0 Enough Chinese torture already 1994-11-15 23:00:23 +00:00
mycroft
b01b8d8a74 Fix thinko in previous commit. 1994-11-15 19:03:25 +00:00
dean
e7558eafd1 put #ifdef KERNEL around CLK_TCK define 1994-11-15 19:00:49 +00:00
dean
393ee3693c Surrounded call to debug routine with #ifdef DEBUG 1994-11-15 18:59:40 +00:00
glass
6614c5a7b3 pppstats(8) and slstats(8) has been rewritten and merged
semantics and interface now follow the iostat/vmstat standard for
statistics reporting.

man page rewritten to match new semantics and interface.  now shared.
1994-11-15 07:20:52 +00:00
mycroft
578e1d6f3a Add PROT_NONE, for Sun source code compatibility. 1994-11-15 04:32:23 +00:00
mycroft
a2727ec558 Check IRQ 9, not IRQ 2. 1994-11-15 00:00:24 +00:00
mycroft
b341f7a8c0 Map IRQ 2 to IRQ 9. 1994-11-14 23:58:56 +00:00
dean
705ee976cf Prepended underscores 1994-11-14 23:48:58 +00:00