Commit Graph

15590 Commits

Author SHA1 Message Date
jonathan
f8fbfa0ce8 Change pmax rcons and low-level serial drivers to support the
old-style pmax polled input for cn_getc(). Needed because the
input side of rcons is not initialized in time for GENERIC kernels
to use it to read a root/swap devicename from /dev/console.
1995-09-11 21:29:23 +00:00
jonathan
dec12b783d Initialization and keymapping code for DEC LK-201 and successor keyboards,
abstrated out of the pmax scc and dc7085 drivers.
1995-09-11 21:23:07 +00:00
jonathan
92ec4c2ebb Delete the now-unused 4.4bsd/pmax "struct consdev". NetBSD/pmax
now uses the standard NetBSD console driver.
Add definition of  RCONSDEV, a potential framebuffer console device major
number.
1995-09-11 21:20:20 +00:00
thorpej
eb50acd998 Changes from Gordon Ross:
a) check against `my' ethernet or broadcast addresses done in
	   ether.c
	b) changed interface to readether() to provide ethertype info
	c) respond to arp requests when appropriate.
First two are clean-up.  Last fixes hp300 and presumably mvme68k netboot
code.
1995-09-11 21:11:36 +00:00
pk
9d7c17bfcb We have no need for esp_print()'; the only child we expect is a scsibus',
and there's nothing to say if it isn't there. Returning -1 is an error
anyway as noted by Chuck Cranor.
1995-09-11 19:41:21 +00:00
pk
0a5ab32e3d We have no need for si_print()'; the only child we expect is a scsibus',
and there's nothing to say if it isn't there.
1995-09-11 19:35:06 +00:00
pk
5bf0d8e4fa si' and sw' are scsibusses. 1995-09-11 19:20:12 +00:00
christos
f9382bca1a Fix return builtin to work like it does in ksh:
When not in a function, it skips the rest of the current input file.
Instances of `return' outside function definitions were previously ignored.
What does joe posix have to say about this?
[fixes PR/1444]
1995-09-11 17:05:41 +00:00
jonathan
23366c17ff Rename the old 4.4bsd/pmax old-style config "struct device" to
"struct pmax_device" to avoid conflict with <sys/device.h>.

Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-11 08:29:11 +00:00
jonathan
30c1021fd5 Framebuffer state variable for Ted Lemon's generic-framebuffer "fb"
pseudo-device, with support for the qvss/pm - compatible interface
used by X11R5 servers on DEC framebuffers.
1995-09-11 08:18:51 +00:00
jonathan
d20d3cf520 Framebuffer ioctls for Ted Lemon's pmax generic framebuffer fb
pseudo-device.
1995-09-11 08:17:04 +00:00
jonathan
ba769a296d Register definitions for the TURBOChannel Smart Frame Buffer (sfb). 1995-09-11 08:14:16 +00:00
jonathan
c8bef84d72 *** empty log message *** 1995-09-11 08:11:20 +00:00
jonathan
1d976e39b9 Change pmax framebuffer drivers to use Ted Lemon's port of the
NetBSD/sparc rcons glass-tty console pseudo-device driver, via
the "fb" generic-framebuffer pseudo-device driver.

Individual framebuffer device drivers are now autoconfig glue,
and initialization code for a set of vdac/ramdac-level methods,
called "fbdriver", that's used by all the pmax device drivers.
All the handlers for user-level requests (open/ioctl/read/write/close)
are moved into the fb pseudo-device driver, which uses the
the "fbdriver" methods to work on any given pmax hardware driver.
Framebuffers  supported are: sfb cfb mfb xcfb pm.

Move the qvss (pm) -style mmap()ed device interface, kernel tracking
of mouse button/movement events, and placing mouse/keyboard
events in an mmap()ed ring buffer, out of the framebuffer device
drivers and into separate source files. The fb pseudo-device driver
uses the qvss-compatible interface, since that's what the (R5) X
server uses.
1995-09-11 07:45:36 +00:00
thorpej
ef09db9674 Add a memcpy() entry as suggested by Gordon Ross. Use <machine/asm.h>
where appropriate.
1995-09-10 19:42:17 +00:00
christos
49a4e14351 Handle long lines without core-dumping. 1995-09-10 15:55:13 +00:00
fvdl
c08d930690 Get address of buffer right when returning from graphics mode. 1995-09-10 10:45:16 +00:00
phil
b2d6a2c531 Second try at import of pc532/floppies. 1995-09-10 06:13:41 +00:00
phil
de25541834 Sorry. I imported these in the wrong place! 1995-09-10 06:09:15 +00:00
christos
17c2255148 Fix PR/1443:
Dependency rules with `=' in the lhs are parsed as variable assignments.
E.g., the following Makefile fails:

A=a b c d
all: $(A:%=%b)
$(A:%=%b):
	@echo $@
1995-09-10 03:58:16 +00:00
ws
6820273c34 Don't allow setattr on msdos directories (fixes pr kern/1436)
Correct handling of rmdir'ing open directories
Correct implementation of rename (includes renaming of directories)
Handle root directories that are not multiple clusters in size
1995-09-09 19:38:00 +00:00
ws
166530c153 Distribute cache entries more evenly 1995-09-08 14:15:07 +00:00
ws
4d035ffc4d No point in computing cn_hash here,
as it gets immediately recomputed in lookup
1995-09-08 13:52:23 +00:00
fvdl
43279db68d Fix PR #1445 (incorrect ifdef/else/endif), from Bill Sommerfeld via
John Kohl.
1995-09-08 07:57:15 +00:00
tls
94f6fc8e46 Sync with 4.4lite2 1995-09-08 03:22:54 +00:00
tls
917ef72d79 Sync with 4.4lite2 1995-09-08 01:05:59 +00:00
fvdl
df2f99818a Get notion of VT number right. 1995-09-07 21:55:43 +00:00
fvdl
698e606f39 syscalls.master changed 1995-09-07 21:49:52 +00:00
fvdl
a396a097b7 Fix some bugs & typing problems. 1995-09-07 21:48:59 +00:00
jtc
1a86f1c724 Revert last change, it seems that a lot of software (including our own
lint) uses yydebug even when YYDEBUG is not defined.
1995-09-07 17:34:04 +00:00
jtc
2bb92dc67a Don't bother with a m68k assembly version of insque/remque. Gcc
generates the pretty much the same code (I believe it is exactly
the same except for stack frame setup) as the generic C version.
1995-09-07 07:17:53 +00:00
jtc
c2f3dc5291 Sync with 4.4lite2 1995-09-07 06:57:11 +00:00
jtc
d943cdadce Sync with 4.4lite2 1995-09-07 06:42:58 +00:00
jtc
f859c958ca Sync with 4.4lite2 1995-09-07 06:28:39 +00:00
jtc
5fc5415e25 Sync with 4.4lite2 1995-09-07 06:12:53 +00:00
jtc
f269c3f49e Fix bug when the second argument of va_start was a char, short or float.
(ie. not promoted); fixes PR# 1193.  Thanks to Bernd Ernesti and Markus
Wild.
1995-09-07 01:20:15 +00:00
jtc
dc758c27aa Handle case where mail-default-reply-to == t 1995-09-07 00:21:14 +00:00
jtc
4bafac2c1a Create symlink between MAKEDEV(8) and makedev(8) for user convenience.
Update RCS Id to use $NetBSD: $.
1995-09-06 21:36:32 +00:00
jtc
f03ae96103 Renamed makedev.8 to MAKEDEV.8, to be consistant with all other ports. 1995-09-06 21:31:34 +00:00
pk
07f70f97f1 Avoid calling device-close routine when open() not completed. Otherwise you
lose if this sequence occurs: open()->devopen()->...->panic()->closeall().
1995-09-06 19:53:27 +00:00
thorpej
7e58b6088e hp300-specific `etc' targets 1995-09-06 16:17:41 +00:00
pk
bac2393fb0 Probe config registers correctly. 1995-09-06 12:35:38 +00:00
thorpej
7e85a5a412 Fix misplaced #ifdef. 1995-09-06 04:15:59 +00:00
pk
896097d846 Fix `le' faked bootpath (PR#1438, Rolf Grossmann). 1995-09-05 21:46:04 +00:00
pk
60a7c4c394 Add `sw' scsi adapter on obio (per Jason Thorpe, PR#1422). 1995-09-05 21:43:09 +00:00
jtc
5a172566ef Fixed bug I introduced when changing printf comparison vs. EOF. Noted by
andreas@planix.com.
1995-09-05 19:57:43 +00:00
ragge
b196060eb7 pcs750.bin -> pcs750.bin.uu 1995-09-05 19:53:01 +00:00
jtc
f4e11cbd09 Include /usr/bin/banner (different from /usr/games/banner) 1995-09-05 18:40:29 +00:00
jtc
cbe2365667 Repair broken merge 1995-09-05 18:36:28 +00:00
cgd
0f14e95f52 replace bogus tcl with tch, thanks to briggs 1995-09-05 15:07:05 +00:00