Commit Graph

19591 Commits

Author SHA1 Message Date
christos
bd397af7ad - include <sys/systm.h>
- fix prototype of epmbuffill()
- fix typo of epxstat -> eptxstat
1996-05-03 17:44:59 +00:00
christos
5a4851d776 - fix printf format strings
- #ifdef out unused variables/functions
- parenthesize
1996-05-03 17:39:49 +00:00
christos
2d0606e988 remove unused variables 1996-05-03 17:33:49 +00:00
christos
021d3e082f Remove unused printf arguments 1996-05-03 17:32:20 +00:00
christos
05dbb85594 cleanup the memh mess:
- remove it from the Novell probe.
- cleanup the 3com probe.
1996-05-03 17:29:29 +00:00
christos
029f35aa10 Avoid overruns when copying the interface name. 1996-05-03 17:09:15 +00:00
christos
a9972e1bbb - RCSid police
- gcc -Wall fixes
1996-05-03 17:05:16 +00:00
christos
744868c6a0 gcc -Wall fixes. 1996-05-03 17:03:09 +00:00
pk
f685c6dd5d Extend memory class of the `mov' instruction (PR#2370). 1996-05-03 09:33:49 +00:00
neil
92f6aca2ec Remove #ifdefs
Thanks to cgd@NetBSD.ORG for pointing the following out to me:

listen (fd, SOMAXCONN); would break.

As programs wouldn't see the changes that might be specified in
the kernel config file.

As penance I am going to see if it would be possible to move this
into param.h and provide away of finding out what the kernel
value is. On busy network servers this value is useful to have as a tunable
kernel parameter.
1996-05-03 09:23:22 +00:00
cgd
c917cba930 update to note that fsck no longer exists, that fsck_ffs should be used,
and that fsck should be a link to fsck_ffs.
1996-05-02 23:16:57 +00:00
cgd
7c1754fdff add a bit of clarafication in a comment, and change the interrupt
handling code so that if a given interrupt is disabled (and therefore
can't have caused the actual I/O interrupt), its handler won't be
called even if its bit is set in the interrupt register.
1996-05-02 21:56:46 +00:00
scottr
d84817d322 Fix prototypes of cpu_set_kpc() and pagemove(); closes PR 2367. 1996-05-02 20:49:20 +00:00
mhitch
5895a434e4 Missed a prototype for kernel_reload(). 1996-05-02 19:34:27 +00:00
pk
4ac7468812 Various simplifications and corrections from Chuck Cranor (makes `oclock'
calibration work.. thanks!).
1996-05-02 18:17:33 +00:00
pk
504582ba83 Simpler and more accurate delay() function from Chuck Cranor. 1996-05-02 18:15:08 +00:00
mhitch
84974b0849 Add a check in the kernel reload device (/dev/reload) to protect
against the MMU switch code being in different locations between
the running kernel and the new kernel.  Returns ENODEV if the reload
fails.
Change the error return from EFAULT to ENOEXEC when kernel_reload
gets a short write on the exec header.
1996-05-02 02:08:22 +00:00
neil
c4b8477b78 Added another quirked SCSI device, re PR 2320 from Manuel Bouyer 1996-05-02 01:09:01 +00:00
cgd
4d6b6d9082 On new architectures and on the alpha, define SIZEOF_BPF_HDR to be
sizeof(struct bpf_hdr).  On machines that we currently support that
can use the old definition (which just covers the size of the data in
struct bpf_hdr), use it even though it's a hack.  (This was changed
for the 'new architectures' case so as to be fail-safe; BPF may
waste a few bytes of space per captured packet on new architectures,
but now at least it's more likely to work.)
1996-05-02 00:57:28 +00:00
neil
8fcff43077 Add ability to do options SOMAXCONN=n which is useful on
busy network servers.
1996-05-02 00:25:13 +00:00
cgd
edf4f72627 apparently the BPF_HEADERS don't define BPF_RELEASE or typedef the
bpf_{,u_}int32 types, so they are defined here.  Change their
definitions to use int32_t and u_int32_t, rather than long and u_long.
1996-05-02 00:18:28 +00:00
cgd
eeee976759 handle the VISTTY vnode flag with the same letter ('I') that BSDI used.
Update the documentation of the vnode flags so that it lists only (and all)
of the flags understood by the program.  (The documentation is likely in need
of more cleanup.)
1996-05-02 00:13:08 +00:00
cgd
b97609d17d the kernel config file for my 3000/300LX. 1996-05-01 23:32:45 +00:00
cgd
49c46e1789 Preliminary CFB support. Does not work as machine's console (for two
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap, cursor,
etc.) support.  Digital UNIX does not support CFB frame buffers in the
Alpha, but they appear to work OK (with an appropriate monitor) in my
3000/300.
1996-05-01 23:25:00 +00:00
cgd
1668855fc5 add support for PMAG-B Color Frame Buffer (CFB) option boards. OSF/1
doesn't support these, but they appear to work OK (with an appropriate
monitor) in my 3000/300.
1996-05-01 23:22:16 +00:00
cgd
cb0eb158e7 fix the test for option slot interrupts. If a given interrupt is
disabled (and therefore can't have caused the actual I/O interrupt),
don't try to call its handler even if its bit is set in the interrupt
register.
1996-05-01 23:19:50 +00:00
chuck
b94c366058 change dk_establish() back to void again. 1996-05-01 21:22:55 +00:00
cgd
b65a5bbdfc preliminary SFB support. Does not work as machine's console (for two
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap,
cursor, etc.) support.
1996-05-01 21:15:46 +00:00
cgd
a449bdaea1 add sfb at tc, wscons at sfb 1996-05-01 20:33:17 +00:00
cgd
69ecf2f7f4 add the right (raster, wsconsdev) attributes to sfb 1996-05-01 20:26:39 +00:00
cgd
8199dee1d8 add SFB at tc, wcsons at sfb, and fix up le declarations 1996-05-01 20:23:04 +00:00
cgd
85d72d56a2 add an entry for the SFB+, and clean up entries some 1996-05-01 19:44:21 +00:00
cgd
d0ec1c6b6f fix usage message, clean up RPC error printing. 1996-05-01 18:14:10 +00:00
cgd
dc6fe8f1a8 second argument to xdr_long must be a "long *", which means that the
'out' arg to svc_sendreply must point to a long if outproc is
xdr_long.  It was pointing to an 'int', and that was crashing on the
alpha, due to bad alignment.
1996-05-01 18:10:26 +00:00
mhitch
bcb9d27216 More cleanup for -Wall with DEBUG. 1996-05-01 16:58:41 +00:00
mhitch
b1d1cbe84b Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch
bb91ff2547 Define BSR_MASK and use BSR_MASK to get the current bank select register. 1996-05-01 15:51:08 +00:00
veego
b03bb4a6e5 Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
1996-05-01 09:59:24 +00:00
veego
03088f61b8 <sys/cpu.h> is no longer needed 1996-05-01 09:56:22 +00:00
jtc
0791e398aa Move invariant (!notrans) out of map alias loop 1996-04-30 22:50:53 +00:00
thorpej
0b637e93a8 Convert the Etherlink III (ep) driver to use <machine/bus.h>. 1996-04-30 22:29:56 +00:00
thorpej
9d91d0f742 Convert the Etherlink III (ep) driver to use <machine/bus.h>.
For the ISA probe, implement a way to keep track of which ISA busses
have been through an ep_isa probe; the static variable that was used
before didn't scale.
1996-04-30 22:27:58 +00:00
thorpej
d614ab5859 Update the 3c507 probe to the new interfaces used by elink_reset()
and elink_idseq().
XXX This is just a kludge until the entire driver is converted to use
<machine/bus.h>
1996-04-30 22:21:54 +00:00
thorpej
91b4a6d401 Adapt the elink_reset() and elink_idseq() routines for <machine/bus.h>.
In elink_reset(), since some machines may have more than one ISA bus,
implement a way of keeping track of which ISA bus has received an
elink_reset(); The static variable which was used previously didn't
scale.
1996-04-30 22:16:27 +00:00
thorpej
a787e8f99b Remove the dk_establish() prototype. It's (correctly) prototyped in
<sys/disk.h>.
XXX Wasn't this file supposed to go away?
1996-04-30 20:45:21 +00:00
scottr
b2af0c2297 Kill unused variables and fix prototypes. 1996-04-30 18:11:38 +00:00
is
af547471fe Give example for INSECURE option in the GENERIC config file in a comment.
Closes PR 2355 giving a different explanation of the option than proposed.
1996-04-30 17:40:34 +00:00
is
068f1fb582 We really have two mouse port units, honestly. 1996-04-30 17:25:42 +00:00
scottr
b50e8aab63 - Drop SCSI IRQ interrupts if we are already handling one. This works around
a condition that occurs with some slow SCSI devices when they disconnect
  (e.g. the AppleCD 600), generating spurious selection interrupts.
- Reorganize the debugging code slightly.
1996-04-30 17:07:17 +00:00
briggs
9cdce38dd0 Bring back Step9 and fix an oversight from Ken Nakata <kenn@remus.rutgers.edu> 1996-04-30 12:02:54 +00:00