Commit Graph

8764 Commits

Author SHA1 Message Date
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
peter
5f53a6d0cd 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
fecdcfd198 Don't repeat checks done at general level. 1997-09-10 21:27:40 +00:00
se
dbe39849af Treat "reservation conflict" status similar to "busy". 1997-09-10 20:46:11 +00:00
phk
7978e73903 Remove a couple of stubborn NetBSD #if's. 1997-09-10 20:22:32 +00:00
phk
f9a9984682 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
5526a62197 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
46bdc92da0 unifdef -U__NetBSD__ -D__FreeBSD__ 1997-09-10 19:52:27 +00:00
phk
933f032097 Update the comment and remove checks now done centrally. 1997-09-10 19:47:37 +00:00
phk
de0078c767 Fix a type in a comment and remove some checks now done centrally. 1997-09-10 19:44:36 +00:00
phk
6e1c77bafa This stuff is now done centrally. 1997-09-10 19:43:15 +00:00
phk
72eabf5707 Remove some stuff from lookup which is now handled centrally. 1997-09-10 19:39:03 +00:00
kato
e6f7d38bc4 Synchronize with sys/i386/isa/wd.c revision 1.137. 1997-09-10 16:34:00 +00:00
joerg
efe691d045 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
fc6cdf2c2c Synchronize with sys/i386/isa/if_ed.c revision 1.121. 1997-09-10 08:07:06 +00:00
kato
fb383d26a8 Synchronize with sys/i386/i386/userconfig.c revision 1.92. 1997-09-10 08:06:35 +00:00
kato
92332e6ebd Synchronize with sys/i386/conf/files.i386 revision 1.175. 1997-09-10 08:05:46 +00:00
peter
1e2343f9db Add example for IPFIREWALL_DEFAULT_TO_ACCEPT 1997-09-10 04:19:07 +00:00
peter
72b7d1aeb9 Allow a compile-time override of the ipfw deny rule. For a 'firewall'
you don't want this (and the documentation explains why), but if you
use ipfw as an as-needed casual filter as needed which normally runs as
'allow all' then having the kernel and /sbin/ipfw get out of sync is a
*MAJOR* pain in the behind.

PR: 4141
Submitted by: Heikki Suonsivu <hsu@mail.clinet.fi>
1997-09-10 03:07:14 +00:00
dg
50ea6f3e6d Change the address for the low end of what we permit from c0000 down
to a0000 so that people can put their cards in the middle of their
video memory if they want. :-)
1997-09-10 00:17:39 +00:00
se
e36217c446 Remove scaling of tp->period, since the value is assumed to be in
tenth of a nanoseconds by ncrcontrol
1997-09-09 21:52:31 +00:00
jmg
fc0c4f6c13 add neccessary calls to autoconf for pnp,
also teach userconfig about the new pnp commands, for usage see pnp(4)
1997-09-09 12:48:59 +00:00
jmg
4deeeb5671 add pnp device entries... 1997-09-09 12:40:54 +00:00
jmg
03370954f4 add the plug-and-play code into current...
This code has been submitted by Luigi Rizzo <luigi@labinfo.iet.unipi.it>,
based on work done by Sujal Patel.

This currnetly doesn't provide the ability to register the port address
of PnP cards assigned a PnP driver.  As there aren't any PnP capible
drivers yet, this isn't much of a problem.

The code allows you, through USERCONFIG, configure what the cards port
bases, irqs, and dma's are like.  Currently there isn't support to view
what cards are in the sytem.

It successfully configures my PnP Internal Modem and sio then sees the
card as a normal isa device.

man page will be committed shortly.

Approved-by: jkh
Submitted-by: Luigi Rizzo
1997-09-09 12:31:58 +00:00
kato
a761eb6dc8 Synchronize with sys/i386/isa/if_ed.c revision up to 1.120. 1997-09-09 11:29:09 +00:00
markm
732b6ad0a8 Amancio's latest in the Brooktree driver.
This fixes the european frequency set, separates this further from the
Meteor driver and fixes bugs.
1997-09-09 06:32:32 +00:00
dg
4107c80bac Added a check for the ISA memory address range being valid. Fixes PR#835. 1997-09-08 20:00:21 +00:00
dg
98b04f7557 Turn on the 0WS option for 16bit cards. Newer machines insert enough
delay that without this the performance is unacceptable. The 83C690,
83C790, and 83C795 chips which this affects are all designed to work
with 0 waitstates in 16bit mode.
Also cleaned up the toggling of 16bit access mode that occurs during
normal operation; the previous code may not have done the right thing
in all cases.
1997-09-08 10:27:09 +00:00
kato
bf7eba6695 Synchronize with sys/i386/i386/microtime.s revision 1.33. 1997-09-08 08:40:53 +00:00
peter
3279cd035e Change an assemble-time divide into a shift. Under binutils-2.8 gas in elf
mode, the slash is a comment leader, while under non-elf it is a divide
symbol (what a concept! :-).  Theoretically, #APP/#NO_APP can change this
but that doesn't seem to mesh too well with macros and line continuation.
1997-09-08 06:40:58 +00:00
peter
9e30146019 Add missing redirection for _inside_intr -> inside_intr 1997-09-08 00:25:05 +00:00
fsmp
e6f9cf6621 DISABLE LEVEL_3 lock pushdown, somethings seems to have broken! 1997-09-07 23:06:15 +00:00
fsmp
fa174d6806 General cleanup of the lock pushdown code. They are grouped and enabled
from machine/smptests.h:

#define PUSHDOWN_LEVEL_1
#define PUSHDOWN_LEVEL_2
#define PUSHDOWN_LEVEL_3
#define PUSHDOWN_LEVEL_4_NOT
1997-09-07 22:04:09 +00:00
bde
820e3f58cd Fixed formatting of FreeBSD changes. 1997-09-07 17:08:32 +00:00
bde
cbb50eb7be Some staticized variables were still declared to be extern. 1997-09-07 16:56:34 +00:00
bde
b4d341d72c Removed trailing semicolons from the definitions of the sysctl
declaration macros so that a semicolon can be added when the macros
are invoked without giving a (pedantic) syntax error.  Invocations
need to be followed by a semicolon so that programs like indent and
gtags don't get confused.

Fixed the one invocation that wasn't followed by a trailing semicolon.
1997-09-07 16:53:52 +00:00
bde
291e109fed Removed yet more vestiges of config-time swap configuration and/or
cleaned up nearby cruft.
1997-09-07 16:21:11 +00:00
joerg
e4465761d2 Add a quirk flag for CD drives that jam when seeing a START STOP UNIT
command.

PR:		2388
Submitted by:	nsayer@quack.kfu.com (Nick Sayer) [basically]
1997-09-07 15:06:08 +00:00
bde
6cba0e5bd6 Removed vestiges of config-time "argument processing" configuration. 1997-09-07 13:49:56 +00:00
bde
2e0ff1b42c Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
kato
e3a6e447cc Synchronize with sys/i386/isa/pcaudio.c revision 1.36. 1997-09-07 12:46:44 +00:00
joerg
2a5e83f9fd Fix a typo that becomes apparent when compiling without COMPAT_443.
Submitted by:	Tony Kimball <Anthony.Kimball@East.Sun.COM>
1997-09-07 11:09:22 +00:00
joerg
3073a9f59d Silence the PREVENT ALLOW MEDIUM REMOVAL call.
Submitted by:	jmattson@wco.com (Jim Mattson)
1997-09-07 10:08:23 +00:00
bde
1be97106bf Some staticized variables were still declared to be extern. 1997-09-07 09:43:44 +00:00