Commit Graph

8792 Commits

Author SHA1 Message Date
kato
e2ce0d677e 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
1425e326d1 Bruce wants the warning. 1997-09-14 11:28:30 +00:00
peter
fb22d35413 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
796eb5ce0a Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
peter
e762286917 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
1a4a67a50c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
peter
0550686456 Update select -> poll 1997-09-14 03:09:01 +00:00
peter
5297821349 select -> poll
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
peter
d0648ea067 select -> poll
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
peter
ce7feabb13 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
13141f4b23 Various select -> poll changes 1997-09-14 02:52:18 +00:00
peter
fe8263de9d vn_select -> vn_poll 1997-09-14 02:51:16 +00:00
peter
2d9590ddc9 Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
peter
1ffbda9a9e 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
4a2b1a3ff1 Extend select hook to support poll 1997-09-14 02:46:44 +00:00
peter
84169dafe1 Implement the poll backend for the pipe file type. 1997-09-14 02:43:25 +00:00
peter
222aa7e6ff Convert select handler to poll style 1997-09-14 02:42:03 +00:00
peter
fbe30e0a2c 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
28a822ce34 Change VOP_SELECT to VOP_POLL 1997-09-14 02:35:25 +00:00
peter
0fc35eb0c2 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
e44c10ddd2 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
a29a9749e5 Update interfaces for poll() 1997-09-14 02:25:41 +00:00
peter
75f4997c44 Regenerate (added poll etc) 1997-09-14 02:23:46 +00:00
peter
639925b1c4 Activate poll(2) syscall 1997-09-14 02:22:05 +00:00
peter
5cd1b913f7 Add sys/poll.h 1997-09-14 02:20:56 +00:00
kato
83559c1de3 Synchronize with sys/i386/isa/wd.c revision 1.138. 1997-09-14 01:44:17 +00:00
joerg
b3004b96f0 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
5167b81f67 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
bc0f53c63a Patch up some more undefined symbols when compiling under ELF. 1997-09-13 16:00:30 +00:00
peter
0ea6081105 Some mbuf -> sockaddr changes seem to have been missed here. 1997-09-13 15:40:55 +00:00
peter
0de5b6fcc3 Fix a warning. 1997-09-13 15:28:30 +00:00
peter
0a52445cc3 Print correct function name in panics 1997-09-13 15:04:52 +00:00
peter
723553368e print correct function name in a panic (vop_nolock -> vop_sharedlock) 1997-09-13 15:02:28 +00:00
jlemon
0eba88d0be 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
3502721d04 Support Intel EtherExpress Pro 10+
PR:		kern/4335
Reviewed by:	Stephen Roznowski (sjr@home.net)
1997-09-12 08:30:57 +00:00
peter
4590e6a960 malloc() the rx and tx descriptors seperately rather than as part of the
large (over 4KB) softc struct.  The descriptor array is accessed by
busmaster dma and must be physically contiguous in memory.  malloc() of
a block greater than a page is only virtually contiguous, and not
necessarily physically contigious.

contigmalloc() could do this, but that is a bit on the overkill side.

I'm not sure of the origins of the problem report and diagnosis, I learned
of the problem via mail forwarded from  Jim Shankland <jas@flyingfox.com>.

Jim said that Matt Thomas's workaround was to reduce the number of
transmit descriptors from 128 to 32, but I was concerned that it might
cost performance.  Anyway, this change is my fault, not Jim's. :-)

Reviewed by: davidg
1997-09-11 15:27:35 +00:00
phk
d4697c2a95 Don't repeat checks done at general level. 1997-09-10 21:27:40 +00:00
se
8244d6816f Treat "reservation conflict" status similar to "busy". 1997-09-10 20:46:11 +00:00
phk
7ef2e93b99 Remove a couple of stubborn NetBSD #if's. 1997-09-10 20:22:32 +00:00
phk
a300d400e9 3 lines of code and updates to a number of comments.
Reviewed by:	phk
Submitted by:	 Terry Lambert <tlambert@primenet.com>
1997-09-10 20:11:02 +00:00
phk
1a50603a24 The patch is needed in order to not throw away unmodified
local filesystem metadata at the first brelse call when the
block device vnode has v_tag set to VT_NFS.

Reviewed by:	phk
Submitted by:	Tor Egge <tegge@idi.ntnu.no>
1997-09-10 20:09:22 +00:00
phk
4d0f72e0e2 unifdef -U__NetBSD__ -D__FreeBSD__ 1997-09-10 19:52:27 +00:00
phk
8e20f7ec0e Update the comment and remove checks now done centrally. 1997-09-10 19:47:37 +00:00
phk
577767a73a Fix a type in a comment and remove some checks now done centrally. 1997-09-10 19:44:36 +00:00
phk
e46083ff26 This stuff is now done centrally. 1997-09-10 19:43:15 +00:00
phk
a5f03d2116 Remove some stuff from lookup which is now handled centrally. 1997-09-10 19:39:03 +00:00
kato
e1818cc172 Synchronize with sys/i386/isa/wd.c revision 1.137. 1997-09-10 16:34:00 +00:00
joerg
adb1bbd53f Do not ever try to coredump adapter memory regions.
PR:		4486
Submitted by:	tegge@idi.ntnu.no (Tor Egge)

Implement a function is_adapter_memory() in order to determine what
should nto be dumped at all.  Currently, only populated with the ``ISA
memory hole''.  Adapter regions of other busses should be added.
1997-09-10 12:31:40 +00:00
kato
bd79753a5b Synchronize with sys/i386/isa/if_ed.c revision 1.121. 1997-09-10 08:07:06 +00:00
kato
c08543cb9c Synchronize with sys/i386/i386/userconfig.c revision 1.92. 1997-09-10 08:06:35 +00:00