Commit Graph

8807 Commits

Author SHA1 Message Date
joerg
b2dd66cbdb Make FDC_DEBUG a supported option.
Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented
option, since people started to trust the bogus claim.  Once we're going
to handle 2.88 MB controllers, we have to redo the chip detection, by
now just leave it hidden.
1997-09-16 07:45:45 +00:00
ache
e3ec52282b Prevent overflow with fragmented packets
Reviewed by: wollman
1997-09-15 23:07:01 +00:00
phk
aa6314d4ec Solve race-condition, return path in normal order.
A couple of stylistic nits from Bruce.

If your libc contains version 1.11 or 1.12 of getcwd.c, (ie: if
you recompiled libc one of the last couple of days):
>>> Recompile LIBC before you boot a new kernel <<<
A new libc will deal with both old and new kernels.
1997-09-15 19:11:07 +00:00
phk
e69b43c6b0 Deal more correctly with mountpoints. 1997-09-15 08:25:43 +00:00
jmg
5f16794571 remove redudant decls from this header file (used for 2.2.x compat) 1997-09-15 07:34:49 +00:00
jmg
c5c297e79b add some preprocessor lines to prevent both controler snd0 and
device pcm0 from being loaded into the kernel at the same time.  As
this generates compilation errors, I just error out.

Requested-by: Jordan
1997-09-15 06:35:13 +00:00
kato
42c4c8188c Synchronize with sys/i386/conf/files.i386 revision 1.176. 1997-09-15 04:00:32 +00:00
peter
05c5ad611e Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
jmg
8b35ccc03a docment the new sound drivers in LINT and add the necessary files to
files.i386.

We aren't sure if this new code and the old sound code will co-exist in a
kernel, so the device pcm0 line is left commented out in LINT.

Submitted-by:	Luigi Rizzo
1997-09-14 21:45:05 +00:00
jmg
970dfea8ea This commit was generated by cvs2svn to compensate for changes in r29415,
which included commits to RCS files with non-trunk default branches.
1997-09-14 21:42:12 +00:00
jmg
beb1b01aeb Import of Luigi Rizzo's sound code. For more information about the driver
check out the README that is included.

Submitted by:	Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
jmg
d77c6d8be9 Import of Luigi Rizzo's sound code. For more information about the driver
check out the README that is included.

Submitted by:	Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
joerg
3b14722f02 Fix the broken VT_WAITACTIVE ioctl for the case where the third arg
was 0.

PR:		4164
Submitted by:	Joe Traister <traister@mojozone.org>

While i was at it, also fixed a broken return value for the VT_RELDISP
ioctl, iff the third arg was legally VT_TRUE, but the destination
screen was in process mode so the actual switch had to be deferred.
This was breaking the ability to directly toggle between two X servers
running on two VTs, since the server getting the bogus error return
was running wild, and competing with the other one for the hardware.
(Sigh, this was a very long-standing bug.)
1997-09-14 19:01:01 +00:00
joerg
e0d9215e40 Addf flags 0x10 to the sio0 line, so it is available as a potential
console.  This features backwards-compatibility to the era when sio(4)
was always available for a console.
1997-09-14 18:57:01 +00:00
phk
af0a87037f Add a __getcwd() syscall. This is intentionally undocumented, but all
it does is to try to figure the pwd out from the vfs namecache, and
return a reversed string to it.  libc:getcwd() is responsible for
flipping it back.
1997-09-14 16:51:31 +00:00
kato
556eb0c8d2 Synchronize with sys/i386/isa/mse.c, pcaudio.c, sio.c and syscons.c
revisions 1.34, 1.37, 1.181 and 1.232, respectively.
1997-09-14 16:27:37 +00:00
peter
d877743579 Bruce wants the warning. 1997-09-14 11:28:30 +00:00
peter
bbd51b4612 oops, I accidently committed a version without INFTIM at the last moment.
I'm not sure that this is the right place to put it, it is 'supposed' to
live in stropts.h.
1997-09-14 05:38:03 +00:00
peter
58767db594 Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
peter
3697457647 Update select -> poll.
I am not particularly happy with this stuff, I have no way to test it.
1997-09-14 03:12:54 +00:00
peter
47e0f3fbb0 Update network code to use poll support. 1997-09-14 03:10:42 +00:00
peter
7c387f7a76 Update select -> poll 1997-09-14 03:09:01 +00:00
peter
e1b4556caa select -> poll
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
peter
f58ce107d9 select -> poll
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
peter
43726a5e93 Convert select -> poll.
Delete 'always succeed' select/poll handlers, replaced with generic call.
Flag missing vnode op table entries.
1997-09-14 02:58:12 +00:00
peter
4b72bdbcec Various select -> poll changes 1997-09-14 02:52:18 +00:00
peter
df63afc00e vn_select -> vn_poll 1997-09-14 02:51:16 +00:00
peter
8fcd066693 Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
peter
eff1f0c126 Provide a 'return true' poll vnode op rather than duplicating the
'do nothing' case all over the various filesystems.
1997-09-14 02:49:06 +00:00
peter
dd70398ee0 Extend select hook to support poll 1997-09-14 02:46:44 +00:00
peter
5220ee18ec Implement the poll backend for the pipe file type. 1997-09-14 02:43:25 +00:00
peter
1a4ccc0e8c Convert select handler to poll style 1997-09-14 02:42:03 +00:00
peter
de2420e1e9 Extend to use poll backend. If memory serves correctly, most of this was
adapted from NetBSD..  However, there are some differences in the tty
system that are big enough to cause their code to not fit comfortably.

Obtained from:  NetBSD (I think)
1997-09-14 02:40:46 +00:00
peter
b6dbb1c5c2 Change VOP_SELECT to VOP_POLL 1997-09-14 02:35:25 +00:00
peter
3f17d9aea8 Extend select backend for sockets to work with a poll interface (more
detail is passed back and forwards).  This mostly came from NetBSD, except
that our interfaces have changed a lot and this funciton is in a different
part of the kernel.

Obtained from: NetBSD
1997-09-14 02:34:14 +00:00
peter
88c12081c5 Implement poll(2). This is mostly taken from the NetBSD implementation
(from some time ago) but with a few tweaks along the way.

Obtained from: NetBSD
1997-09-14 02:30:32 +00:00
peter
efda3d4c5f Update interfaces for poll() 1997-09-14 02:25:41 +00:00
peter
d29e461584 Regenerate (added poll etc) 1997-09-14 02:23:46 +00:00
peter
260b6f5fe5 Activate poll(2) syscall 1997-09-14 02:22:05 +00:00
peter
c5e0574cec Add sys/poll.h 1997-09-14 02:20:56 +00:00
kato
d6f180f62f Synchronize with sys/i386/isa/wd.c revision 1.138. 1997-09-14 01:44:17 +00:00
joerg
906bfde06d Implement SA_NOCLDWAIT.
The implementation is done (unlike what i've originally been
contemplating) by reparenting kids of processes that have the
appropriate bit set to PID 1, and let PID 1 handle the zombie.  This
is far less problematical than what would seem to be ``doing it
right'', for a number of reasons.

Of our currently shipping PID-1-intended programs, 50 % fail the above
assumption. ;-)  (Read this: sysinstall doesn't do it right.  This is
no problem as long as no program called by sysinstall actually uses
SA_NOCLDWAIT.)

ToDo:		. clarify the correct SA_* flag inheritance, compared
		  to other systems,
		. decide whether the compat cruft (osigvec(9)) should
		  deal with new system additions or not,
		. merge OpenBSD's SA_SIGINFO implementation. ;)
Reviewed by:	bde
1997-09-13 19:42:29 +00:00
joerg
954dd8c56b Revert the logic behind my last change, and use a function called
`is_physical_memory()' now for the decision whether to dump some
region of memory or not.

Suggested by:	davidg
1997-09-13 16:12:15 +00:00
peter
16847c2f8c Patch up some more undefined symbols when compiling under ELF. 1997-09-13 16:00:30 +00:00
peter
bf7e20ee15 Some mbuf -> sockaddr changes seem to have been missed here. 1997-09-13 15:40:55 +00:00
peter
47c156833e Fix a warning. 1997-09-13 15:28:30 +00:00
peter
6617acb61b Print correct function name in panics 1997-09-13 15:04:52 +00:00
peter
fd22c91ad8 print correct function name in a panic (vop_nolock -> vop_sharedlock) 1997-09-13 15:02:28 +00:00
jlemon
c9d58d31c0 Do not consider VM_PROT_OVERRIDE_WRITE to be part of the protection
entry when handling a fault.  This is set by procfs whenever it wants
to write to a page, as a means of overriding `r-x COW' entries, but
causes failures in the `rwx' case.

Submitted by:	 bde
1997-09-12 15:58:47 +00:00
msmith
771e4a19f4 Support Intel EtherExpress Pro 10+
PR:		kern/4335
Reviewed by:	Stephen Roznowski (sjr@home.net)
1997-09-12 08:30:57 +00:00