Commit Graph

2102 Commits

Author SHA1 Message Date
dg
cabfe591a7 Terry Lambert's loadable kernel module support - modstat utility with
improvements from the NetBSD group.
1994-08-19 12:14:10 +00:00
dg
9d76062a6d Terry Lambert's loadable kernel module support - modload & modunload
utilities w/improvements from the NetBSD group.
1994-08-19 12:07:23 +00:00
dg
9d84a66508 Terry Lambert's loadable kernel module support w/improvements from the
NetBSD group.
1994-08-19 11:45:29 +00:00
jkh
12ed4bea9d 1. Make this idempotent.
2. Hack.

	Hack is to define RCSID() to null macro so that new msun stuff
	will compile.  This does NOT belong here, and I DON'T want it to
	stay, I just need to put this here for now to enable msun and we need
	to talk about what our RCSID story is supposed to be.  We talked about
	supporting RCSID() one day, and everyone seemed to like the idea
	reasonably well of making it a macro you could just no-op this way,
	but we never did anything.  Now I see that JTCs code has it and I'm
	loath to remove it or do anything until we've discussed it some more.

	Well, so how about it?  What's our story vis-a-vis RCSID() going to
	be?

Submitted by:	jkh
1994-08-19 11:20:11 +00:00
jkh
f208ecd15e Make this puppy actually compile now.
Submitted by:	jkh
1994-08-19 11:15:40 +00:00
jkh
aa478b68ef Do all the includes: <machine/asm.h> -> <machine/asmacros.h>
Reviewed by:
Submitted by:
1994-08-19 11:14:32 +00:00
jkh
735c73b4d4 Change includes to reference <machine/asmacros.h>.
Submitted by:	jkh
1994-08-19 11:12:52 +00:00
jkh
6a72db863f Make libmsun a switchable option, as before.
Submitted by:	jkh
1994-08-19 10:24:56 +00:00
jkh
d19a7b4e1a This commit was generated by cvs2svn to compensate for changes in r2116,
which included commits to RCS files with non-trunk default branches.
1994-08-19 09:40:01 +00:00
jkh
2a8fd4fc31 J.T. Conklin's latest version of the Sun math library.
-- Begin comments from J.T. Conklin:
The most significant improvement is the addition of "float" versions
of the math functions that take float arguments, return floats, and do
all operations in floating point.  This doesn't help (performance)
much on the i386, but they are still nice to have.

The float versions were orginally done by Cygnus' Ian Taylor when
fdlibm was integrated into the libm we support for embedded systems.
I gave Ian a copy of my libm as a starting point since I had already
fixed a lot of bugs & problems in Sun's original code.  After he was
done, I cleaned it up a bit and integrated the changes back into my
libm.
-- End comments

Reviewed by:	jkh
Submitted by:	jtc
1994-08-19 09:40:01 +00:00
jkh
f284d25bf0 Smash together Poul-Henning's, Garrett's and Steve Gerakines 24f changes
into one, hopefully functioning, Ultrastore driver.  Any Ultrastore owners
out there - please speak up!  We need to test this puppy.
Reviewed by:
Submitted by:
1994-08-19 00:32:52 +00:00
phk
7312a4a455 Added my ProAudioSpectum SCSI driver for cards with the 5380 SCSI-chip.
This is the slowest and most stupid of our SCSI-drivers, but it is there
and it works.  It has been tested with CD-ROM and disk.
It uses no interrupts, no DMA, just polled I/0.
Transfer-rate is <= 100Kbyte/sec.
If you set the jumpers on the board, you can change the unit-number and
you will be able to have four of these co-exist in one computer, why one
would do that is somewhat unclear though.
If I ever get my hand on the docs for this, I will improve it of course,
but for now we can install and access those CD-ROMs.
1994-08-19 00:01:08 +00:00
phk
9f14ab4b40 Added {} around two initializers for spare[2] in some structs. This calms
down -Wall a little bit.
1994-08-18 23:36:40 +00:00
wollman
90c36dbe96 Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
  header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.

NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
1994-08-18 22:36:09 +00:00
dg
a523463cf1 Got rid of stupid warning message. 1994-08-18 14:35:23 +00:00
dg
7d3dc7b350 Got rid of extra space between args and (command). 1994-08-18 14:30:53 +00:00
jkh
2de471e090 Link to "vi" and "ex" too.
Submitted by:	jkh
1994-08-18 12:53:50 +00:00
jkh
11e2f11875 Don't bodge around with vi.1, just go get and copy the file.
Submitted by:	jkh
1994-08-18 12:50:59 +00:00
jkh
774e50381b Put back dependencies on header files.
Submitted by:	jkh
1994-08-18 12:43:14 +00:00
dg
d424708b3f Added support for TIOCSTAT ioctl. This allows shells that use raw/cbreak
tty modes to process a control-T and do the right thing.
1994-08-18 09:16:37 +00:00
dg
e2b4020273 Oops...forgot to list the changes....
/usr/src/usr.sbin.config:
	o -DSTATCLOCK gives kludges to support the rtc non-device as well as
	  old kludges to support the clk non-device.

/usr/src/usr.sbin/config.8:
	o Document the trivialness of the new vector.h.

/usr/src/usr.sbin/mkglue.c:
	o Only print DEVICE_NAMES and NR_DEVICES in vector.h.  These are
	  only required to support vmstat.  The vmstat interface will need
	  to be improved for dynamic loading.

/usr/src/usr.sbin/mkioconf.c:
	o Print device ids to be used as indexes into DEVICE_NAMES.
	o Print secondary interrupt handler entry points (xxxintr()) instead
	  of primary ones (VdevU()).  Primary ones are now XintrI() and
	  XfastintrI() and are independent of the config so they are not
	  handled here.
	o Minor cleanups.

Submitted by:	Bruce Evans
1994-08-18 05:15:26 +00:00
dg
c21451a08d Support for Bruce Evans' new dynamic interrupt support.
Submitted by:	Bruce Evans
1994-08-18 05:11:32 +00:00
dg
f7c1114411 Bruce Evans' dynamic interrupt support.
/usr/src/sys/i386/isa/clock.c:
	o Garrett's statclock changes.
	o Wire xxxintr, not Vclk.
	o Wire using register_intr(), not setidt().

/usr/src/sys/i386/isa/icu.s:
	o Garrett's statclock changes.
	o Removed unused variable high_imask.
	o Fake int 8 for rtc as well as int 0 for clk.  Required for kernel
	  profiling with statclock, harmless otherwise.

/usr/src/sys/i386/isa/isa.c:
	o Allow isdp->id_irq and other things in *isdp to be changed by
	  probes.  Changing interrupts later requires direct calls to
	  register_intr() and unregister_intr() and more care.
	  ALLOW_CONFLICT_* is brought over from 1.1.5, except
	  ALLOW_CONFLICT_IRQ is not supported.  IRQ conflict checking is
	  delayed until after probing so that drivers can change the IRQ
	  to a free one; real conflicts require more cooperation between
	  drivers to handle.
	o Too many details to list.
	o This file requires splitting and a lot more work.

/usr/src/sys/i386/isa/isa_device.h:
	o Declare more things more completely.

/usr/src/sys/i386/isa/sio.c:
	o Prepare to register interrupt handlers as fast.

/usr/src/sys/i386/isa/vector.s:
	o Generate entry code for 16 fast interrupt handlers and 16 normal
	  interrupt handlers.  Changed some constants to variables:
	  # $unit is now intr_unit[intr].  Type is int.  Someday it should
	    be a cookie suitable for the handler (e.g., a struct com_s for
	    sio).
	  # $handler is now intr_handler[intr].
	  # intrcnt_actv[id_num] is now *intr_countp[intr].  The indirection
	    is required to get a contiguous range of counters for vmstat
	    and so that the drivers depend more in the driver than on the
	    interrupt number (drivers could take turns using an interrupt
	    and the counts would remain correct).  There is a separate
	    counter for each device and for each stray interrupt.  In
	    1.1.5, stray interrupt 7 clobbers the count for device 7 or
	    something worse if there is no device 7 :-(.
	  # mask is now intr_mask[intr] (was already indirect).
	 o Entry points are now _XintrI and _XfastintrI (I = intr = 0-15),
	   not _VdevU (U = unit).
	 o Removed BUILD_VECTORS stuff.  There's a trace of it left for
	   the string table for vmstat but config now generates the
	   string in one piece because nothing more is required.
	 o Removed old handling of stray interrupts and older comments
	   about it.

Submitted by:	 Bruce Evans
1994-08-18 05:09:36 +00:00
dg
1e7bb9e0bb Moved over my fix for vnode lossage when multiple TIOCSCTTY ioctls are
done. This patch was extended to also include a suggested change by
Kirk McKusick which allows the control tty to be reasigned to a different
tty without losing a vnode.
1994-08-18 03:53:38 +00:00
sef
2295add354 Bringing in version 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:15:57 +00:00
sef
e46c02343f Bringing in nvi 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:15:30 +00:00
sef
d933449557 Bringin in nvi 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:14:32 +00:00
sef
d8de28a3c8 Bringing in version 1.34.
Reviewed by:	 Sean Eric Fagan
1994-08-18 01:13:30 +00:00
sef
2090245230 Bringing in nvi 1.34. Keith is too active.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:12:10 +00:00
sef
920fcda7b9 Incorporating nvi 1.34. Keith needs to get away from the keyboard.
Reviewed by:	Sean Eric Fagan
1994-08-18 00:56:19 +00:00
jkh
dd025cd939 vi.0 -> vi.1
Submitted by:	jkh
1994-08-17 23:39:15 +00:00
sef
9cc57b6736 Bringing up to version 1.33.
Reviewed by:	Sean Eric Fagan
1994-08-17 22:18:26 +00:00
sef
2d737de55e Bringing up to version 1.33
Reviewed by:	Sean Eric Fagan
1994-08-17 22:18:03 +00:00
sos
c9c5d9d57b Oops, changed order of include lines...
Reviewed by:
Submitted by:
1994-08-17 19:32:23 +00:00
sef
adc51c6cb2 Include ../../Makefile.inc so BINDIR gets set. This should make installs
work *much* better.

Submitted by:	Sean Eric Fagan
1994-08-17 17:04:51 +00:00
sos
b4476e97ab Added kbdcontrol & vidcontrol utils (from 1.1.5.1+)
Reviewed by:
Submitted by:
1994-08-17 09:01:52 +00:00
sos
e8c1031755 Added vidcontrol util from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 09:00:13 +00:00
sos
2679afec8b Added kbdcontrol util from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 08:59:37 +00:00
sos
df99961e2e Updated to latest 1.1.5.1+ version
Reviewed by:
Submitted by:
1994-08-17 08:51:59 +00:00
sos
ca67886e88 Updated to latest version from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 08:51:10 +00:00
sef
77b218ae64 It wasn't put in during the initial import.
Reviewed by:	Sean Eric Fagan
1994-08-17 05:36:45 +00:00
sef
915ddb42c4 Build vi (nvi), now that it's checked in.
Submitted by:	Sean Eric Fagan
1994-08-16 23:58:00 +00:00
sef
e0c5d8b66a This commit was generated by cvs2svn to compensate for changes in r2081,
which included commits to RCS files with non-trunk default branches.
1994-08-16 23:36:45 +00:00
sef
a6a4f07746 Latest public release of nvi, from Keith Bostic. I hope I got this
right ;).
Reviewed by:	Sean Eric Fagan
1994-08-16 23:36:45 +00:00
jkh
31716bfe34 Reenable the makedb stuff; it works fine.
Submitted by:	jkh
1994-08-16 22:44:28 +00:00
jkh
b29ab80666 Whoops, nuke libobjc until we have it too.
Submitted by:	jkh
1994-08-16 02:55:14 +00:00
wollman
fd932b9203 Add option KBD_RESET_FAIL_OK so that GCC 2.6 doesn't break my
console.
1994-08-15 22:41:33 +00:00
guido
08f0d29a6b Plug already known security hole. (Brought over from 1.1.5):
Fixed security problem with telnetd, which allowed
        telnet -l -hcert.org localhost
to change the user's host in utmp.
Thanks to Matthew Green <mrgreen@@mame.mu.oz.au> for showing me this one.


Reviewed by:	karl, guido
Submitted by:	mrgreen@@mame.mu.oz.au
1994-08-15 20:06:13 +00:00
guido
b50d2e09b5 Plug security hole that was already fixed in 1.1. It prevents
user from specifying their hostname when rlogin()-ing in
(using rlogin -f-h<host>)

Reviewed by:
Submitted by:
1994-08-15 19:44:50 +00:00
wollman
cff432d90d Don't bother with XNSrouted and trsp, nobody uses either. If anybody
decides they want to, they can change the Makefile.
1994-08-15 03:19:25 +00:00