jonathan
0736074d04
Fix bugs in the turbochannel config table for MAXINE (personal decstation).
1995-10-09 01:45:26 +00:00
chopps
cc6ab4e68d
new cybervision 64 from Bernd Ernesti <bernd@arresum.inka.de> (and others)
1995-10-09 01:44:09 +00:00
chopps
ee06310cd7
moved videomode to ./usr/sbin
1995-10-09 00:53:19 +00:00
chopps
9318d50785
build grf_ultmscode.h
1995-10-09 00:12:54 +00:00
gwr
fa87e5bdfc
Minor cleanup re. Debugger() calls...
1995-10-08 23:48:22 +00:00
gwr
90af367f9e
Make arpintr() call conditional on NETHER
1995-10-08 23:47:34 +00:00
gwr
48500ffdd6
Add rd, xd, xy. Sort the includes.
1995-10-08 23:46:27 +00:00
gwr
0ed357402a
Fix a big "oops" (Many thanks to David Jones!)
1995-10-08 23:45:10 +00:00
gwr
3d587a6700
Link this -static
1995-10-08 23:44:02 +00:00
gwr
09cbbafa0a
Minor cleanup.
1995-10-08 23:42:58 +00:00
gwr
f5bcca1fab
Machine-dependent part of the new RAM-disk driver.
...
This module lets one build a stand-alone kernel.
1995-10-08 23:42:42 +00:00
gwr
1b6586b2bb
Note that this should be merged with dev/ic/i82586reg.h
1995-10-08 23:41:36 +00:00
gwr
13fa3c4fe6
Temporary hack to restrict open to root or the
...
same UID as the session attached to /dev/kd
1995-10-08 23:40:42 +00:00
gwr
2d50d2a6b9
Add RAMDISK, move some things around.
...
Add rd*, xd*, xy* (only rd is done).
1995-10-08 23:38:41 +00:00
fvdl
81d650570f
Implement the KDGKBMODE ioctl for Linux (possible with pcvt 3.32).
1995-10-08 22:45:20 +00:00
jtc
9ba33c87cc
Update makefile to handle the fact that keycap.5 was moved out of man5
...
into this directory.
1995-10-08 21:59:43 +00:00
jtc
df99cef0ac
Patch from Frank van der Linden to allow kernels with pcvt but without
...
XCONSOLE to compile. I've been told that this patch has been sent to
Helmuth.
1995-10-08 21:57:39 +00:00
thorpej
83dfe0816e
Remove the icode stuff; it hasn't been used in a long time.
1995-10-08 20:19:22 +00:00
thorpej
a8637d68f8
blkclr -> bzero
1995-10-08 19:33:36 +00:00
pk
1ad1d128e3
Fill in `ascent' values correctly.
1995-10-08 19:31:44 +00:00
thorpej
09024536ef
Remove __main(), strlen(), bzero(), and bcmp(). They're all in libkern.
1995-10-08 19:30:51 +00:00
thorpej
3b70bc6b37
Finish up the system call function renaming; sysarch -> sys_sysarch and
...
vtrace -> sys_vtrace.
1995-10-08 19:01:26 +00:00
briggs
685b9057c2
Pick up changes from leo's latest version.
1995-10-08 17:25:19 +00:00
leo
0e5fe20560
- Cleanup the arbitration
...
- Make sure the MON_BUSY flag is cleared after a DMA transfer. Otherwise
we might end up with a 'lost-busy' situation unexpectedly. This will
prevent the 5380 from driving the bus, which is not funny during
reselections.
1995-10-08 13:34:23 +00:00
pk
ecf1cf893d
Add forgotten `eeprom' configuration.
1995-10-08 11:45:39 +00:00
pk
21a594651a
eeprom_match: account for differing physical addresses (per Jason Thorpe).
1995-10-08 11:44:59 +00:00
pk
87a0c55d23
Patch from Jason to factor out a common framebuffer size determination
...
routine from the individual drivers.
1995-10-08 01:39:13 +00:00
jtc
95f29581c3
Remove files that have been removed from or renamed in the current pcvt sources
1995-10-07 23:25:09 +00:00
mycroft
c078d7a9f4
Remove __builtin_saveregs().
1995-10-07 22:27:31 +00:00
mycroft
6287d3d7b2
Remove bzero().
1995-10-07 22:24:50 +00:00
jtc
be0a951c76
Update our Makefile.inc.
...
Remove various OS-specific Makefile.inc templates.
1995-10-07 21:51:42 +00:00
jtc
d9789d4225
Overlay our pcvt with pcvt 3.32 sources. All of our fixes have been
...
incorporated into the master sources, so it is unnecessary to resolve
all the conflicts that would occur if we let CVS "merge" the versions.
1995-10-07 21:43:25 +00:00
jtc
68b7d2aca6
import pcvt 3.32
1995-10-07 21:11:27 +00:00
jtc
652374b8ca
import pcvt 3.32
1995-10-07 21:10:55 +00:00
jtc
81c0777f62
import pcvt 3.32
1995-10-07 21:09:43 +00:00
chopps
16ca402101
update from Ignatios Souvatzis <is@beverly.rhein.de>
1995-10-07 19:54:58 +00:00
chopps
79bc0aa5ef
transpose osc values from Ignatios Souvatzis <is@beverly.rhein.de>
1995-10-07 19:48:08 +00:00
chopps
86fb4819e2
change break val from rhealey@kas.helios.mn.org (Rob Healey)
1995-10-07 18:22:14 +00:00
chopps
cf0e52a427
update to 2232 from Jukka Marin <jmarin@teeri.jmp.fi> and
...
rhealey@kas.helios.mn.org (Rob Healey)
1995-10-07 18:18:26 +00:00
chopps
dc3b9221a6
update to ariadne ethernet device from Bernd Ernesti <bernd@arresum.inka.de>
1995-10-07 18:12:42 +00:00
chopps
c68476241f
new quicknet ethernet driver from Kortelainen Mika <k125374@cs.tut.fi>
1995-10-07 18:04:27 +00:00
chopps
a9c89668da
fixes for fastlane from Daniel Widenfalk <t94dwi@student.tdb.uu.se>
1995-10-07 17:33:01 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
mycroft
037949ced9
Undo accidential deletions in last commit.
1995-10-06 07:12:42 +00:00
mycroft
f2d15e5b48
Remove unneeded input operands to fnsave(), fnstcw(), and fnstsw().
1995-10-05 23:06:15 +00:00
mycroft
45dc3570ec
Use ISA_IPL_TTY, to fix race conditions.
1995-10-05 22:06:47 +00:00
pk
48849279bf
Script to assist installing second-stage boot programs.
1995-10-05 21:03:12 +00:00
mycroft
ec30c873ea
Switch the AUX_ENABLE and AUX_DISABLE flags, per Mathias Engan.
1995-10-05 14:12:21 +00:00
pk
aea329df61
rcons: rc_maxcol and rc_maxrow were swapped.
1995-10-05 13:16:57 +00:00
chopps
5dcc668ebd
first attempt at A4000T support, remove GRF_AGA's dependence on GRF_ECS.
...
page 0 is now invalid, other minor cleanup.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:40:48 +00:00
chopps
58f950c48a
Only enable timeouts (debugging) when actually transfering data.
...
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-10-05 12:36:07 +00:00
leo
7d3bc89420
Get in sync with the mac68k version to incorporate Allen Briggs' changes
...
- emit MSG_ABORT/MSG_REJECT at the right times:
- make MIN_PHYS machine dependent.
1995-10-05 08:52:53 +00:00
thorpej
c2ca33b9c1
Initialize the kernel PT map as thoroughly in the 68040 case as the
...
non-68040 case. Fix up a comment there, too.
1995-10-05 06:54:12 +00:00
thorpej
a6359b2633
Fix segment table reference bug, from Micheal Hitch.
1995-10-05 06:47:25 +00:00
jonathan
37d37e0791
Change the pmax framebuffer driver to reflect the rcons changes as negotiated
...
with pk:
Use dev/rcons/files.rcons in the pmax config file.
Use "rasterconsole" as the tag in pmax/conf, and modify the pmax
framebuffer pseudo-device drivers (fb and rcons) to us rasterconsole.h and
RASTERCONSOLE for compile-time configuration of the rcons pseudo-device.
Modify the pmax rcons pseudo-device driver to initialize a little-endian,
QVSS-compatible font (set its ascent, and set the rconsole structure to
point to that font) before calling rcons_connect().
Tested on a cfb. The ascent may be wrong (or at least, not be aligned with
the hw cursor sprite) on a 3100.
1995-10-05 01:52:44 +00:00
pk
c8f10b184c
Do not set `ra_len' in bwtwomatch(); we only need the pixels for CONSOLE,
...
but if so, we need the lot.
1995-10-05 00:33:23 +00:00
pk
de0c6a97bd
RCONSOLE => RASTERCONSOLE.
1995-10-05 00:26:07 +00:00
pk
c1e313b122
include `files.rcons'.
1995-10-05 00:21:35 +00:00
pk
b79dc038d5
Machine dependent RASTERCONSOLE font definition to be passed to rcons_init().
1995-10-05 00:02:54 +00:00
pk
859b799130
RCONSOLE => RASTERCONSOLE
1995-10-04 23:44:33 +00:00
pk
d19cacbb03
RCONSOLE => RASTERCONSOLE.
1995-10-04 23:35:13 +00:00
thorpej
e43d278d31
Several changes:
...
* Reset the card on "fresh open" as a sanity measure.
* Use the "secret bit" to enable interrupts.
* Make some parts look/behave like their cousins in dev/isa/com.c
* Set the FIFO threshold based on line speed.
* Be a little more informative when port is attached.
* Implement TIOC{G,S}FLAGS; ttyflags now works.
First two items prevent deadlock on some systems (notably the 380,
425, and 433) which some people have been reporting. Use of the
"secret bit" seems to be safe on systems which don't need it. Changes
tested on a 319, 340, 345, and 380.
1995-10-04 17:46:08 +00:00
briggs
5479e941d9
Add a second ppp. It makes the kernel a whole 8 bytes larger on disk.
1995-10-04 11:05:25 +00:00
thorpej
442aff9376
Say what I really meant in a printf()...
1995-10-04 08:39:14 +00:00
thorpej
b675177228
Put new-style RCS ids in the startup banner. Makes bootblock revisions
...
much easier to recognize; old method could have revision corrupted by
local RCS control.
1995-10-04 07:24:31 +00:00
thorpej
d08330454a
Determine the select code of the console device, or -1 for internal grf.
...
Pass this value to the kernel in register d5. This value isn't currently
used by the kernel, but will be in the future.
1995-10-04 06:54:42 +00:00
thorpej
f060c456de
Couple of changes:
...
* Implement TIOC{G,S}FLAGS; ttyflags works now.
* Reset the card on a "fresh open" as a sanity measure.
* Make dcmopen() and dcmclose() a little more like the
corresponding routines in the new dca.c
1995-10-04 06:39:06 +00:00
briggs
8ede165771
ae0 -> ae* and add a couple of vnd devices.
1995-10-04 03:42:18 +00:00
briggs
6e435f9152
Include ether.h to get NETHER.
1995-10-04 03:38:27 +00:00
pk
dad96c6619
Add a few constants used for mapping bit and pieces in the kernel driver.
1995-10-04 00:21:27 +00:00
briggs
be8ef88444
Raise number of bpfs to 12 since CAP needs a minimum of 8.
1995-10-03 20:19:01 +00:00
mycroft
4a17d4a861
Undo accidental deletions in last commit.
1995-10-03 20:18:58 +00:00
pk
32c023995c
Bring reset logic into interrupt state machine.
1995-10-03 17:32:12 +00:00
pk
fcc53878ca
Make fbrcons_init() resistant against SUN4s.
1995-10-02 21:48:21 +00:00
pk
cfbe993b9b
Update to use <machine/cgtworeg.h>
1995-10-02 21:44:51 +00:00
pk
38d1101ad3
Silly me.. there's already a <machine/cgtworeg.h>
1995-10-02 21:44:22 +00:00
pk
fb58a99a8f
Fix some bogus calls to {read/write}disklabel().
1995-10-02 21:04:45 +00:00
ragge
e3e007e87c
#include "sys/mount.h" added.
1995-10-02 12:33:32 +00:00
briggs
1ddc4223b1
Add offset to mac68k_vidlog as suggested by chas@ohm.nrl.navy.mil.
1995-10-02 09:41:06 +00:00
briggs
633e32000c
Wrap call to arpintr() in NETHER to avoid unresolved external if no ether
...
devices are present. Suggested by Paul Goyette (paul@pgoyette.bdt.com ).
1995-10-02 09:38:38 +00:00
pk
82434458cc
Get some of the bugs out. Thanks to David Gilbert for testing.
1995-10-02 09:07:03 +00:00
briggs
d510375b06
Change to allow nack_message() to take an argument and send
...
MSG_REJECT_MESSAGE instead of MSG_ABORT when we get an extended message.
This allows a DEC drive to work when it attempts to negotiate synch.
transfers on us.
1995-10-02 09:03:53 +00:00
thorpej
d7b36ab7a2
Add mt0.
1995-10-02 00:36:07 +00:00
thorpej
f12fd2307e
Driver for HP 7974a, 7978a/b, 7979a, 7980a, and 7980xc 9-track HP-IB tapes.
...
Original version contributed to Utah by Mt. Xinu. Ported to 4.4BSD by
Mark Davies and Andrew Vignaux.
1995-10-02 00:28:20 +00:00
chopps
01d63931a5
only use one xmit buffer for ASDG
1995-10-01 19:30:22 +00:00
briggs
0066d1a66f
Finally get this right... Final fix from Paul Goyette paul@pgoyette.bdt.com
1995-10-01 05:10:20 +00:00
briggs
9de2a25e73
Surround Debugger(); with #if DDB. Different fix than encl. for PR#1553.
1995-10-01 02:29:32 +00:00
pk
13dcbfbb29
Make this work with OBJ dirs.
1995-09-30 21:43:35 +00:00
briggs
c1138ce68a
Yet another error in the (next-to) last changes.
1995-09-30 21:34:54 +00:00
pk
160b38697c
Refer to installboot(8)
1995-09-30 21:33:30 +00:00
pk
a029979ad3
Manual page for installboot(8).
1995-09-30 21:32:14 +00:00
briggs
890baf19ea
Fix stupid error in one of my last changes here.
1995-09-30 19:42:34 +00:00
chopps
35c3bd0da2
fix typo
1995-09-30 17:43:18 +00:00
chopps
672febd322
add conditionals around page zero debug stuff
1995-09-30 17:39:51 +00:00
chopps
678433e279
no longer needed by lance driver (now uses /dev/ic...)
1995-09-30 17:20:29 +00:00
chopps
f144360393
oops, forgot to cvs add this
1995-09-30 17:18:22 +00:00
leo
1c107bd3e6
Add CD9660 option.
1995-09-30 12:48:12 +00:00
chopps
d6ede49c3d
fix typo (pr#1224)
1995-09-30 08:39:38 +00:00
chopps
852aa19159
add arcnet device, (pr#1148)
1995-09-30 08:34:49 +00:00
chopps
46b055b6dc
some style cleanup
1995-09-30 02:08:47 +00:00
chopps
5295a0c32a
add msc device
1995-09-30 01:54:00 +00:00
chopps
21575d71a5
changes for msc device
1995-09-30 01:52:37 +00:00
chopps
1683d8a23e
new 2232 multiport serial device from:
...
Rob Healey <rhealey@kas.helios.mn.org>, Jukka Marin <jmarin@teeri.jmp.fi>,
Timo Rossi <trossi@jyu.fi> and Zik
1995-09-30 01:50:50 +00:00
jonathan
8945da0c58
Add speed entries for 7200 and multiples.
...
Add as-yet-unused speed entries for a 1x SCC clock, up to 200 Kbits.
Remove old top-bit-means-delay code, since nothing seems to need it,
and it apparently partially broke lk-201 initialization anyway.
1995-09-29 21:55:19 +00:00
jonathan
ae1b64d888
Fix btoc()/ctob() typo in reading physical memory that stopped ps
...
from reading process argument lists.
Allow kernel-virtual memory reads to read the message buffer, since
dmesg needs it.
1995-09-29 21:53:29 +00:00
ragge
0b4e25a2c1
Arg to printf forgot.
1995-09-29 16:35:00 +00:00
ragge
24d550bffb
Some typos.
1995-09-29 16:33:38 +00:00
chopps
319c531354
move 040 to hp300 style, use new MI lance ethernet driver
...
a few minor fixes WRT prototypes.
if_le from Charles rest from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-29 13:51:30 +00:00
chopps
eab73b27b1
fix wrong arg to strncpy
1995-09-29 13:11:21 +00:00
phil
c9836835f4
Make it as lean as possible.
1995-09-29 04:16:48 +00:00
jonathan
b543578236
Add a missing "nop" in a delay slot in the floating-point exception
...
handler. Gradual underflow and fp emulation now work correctly.
Proper denorms also fix strtod() inaccuracies and Gcc's "enquire" program.
1995-09-28 20:02:50 +00:00
phil
d7992eb61f
Update to correct load address.
1995-09-28 08:13:29 +00:00
briggs
d73008fe8b
Always announce it when loading miniroot.
1995-09-28 04:17:24 +00:00
briggs
b1d771eeb5
Simplify nubus interrupt routines a bit.
1995-09-28 04:11:18 +00:00
briggs
a9f0a2f9c4
Fix PR 1514 from Walter Ruetten.
1995-09-28 03:15:54 +00:00
pk
691b9f2bfa
Avoid reading the filesystem superblock in bootxx; all info now prepared
...
by installboot (per Gordon Ross).
1995-09-27 09:03:13 +00:00
briggs
5a0bebbc54
Patch from Theo to finish clearing 040 kernel page tables.
1995-09-27 04:16:54 +00:00
briggs
232169396a
Bullet-proof a little.
...
Make some more pdma code conditional on USE_PDMA.
Handle transfers of size > MIN_PHYS.
1995-09-27 03:38:57 +00:00
gwr
995b4710b8
Correct mapinfo for Multibus PROM devices.
1995-09-26 21:30:19 +00:00
gwr
50201d2bb5
Fix comment, add copyright.
1995-09-26 21:29:25 +00:00
phil
03fa08025b
Major update: Many changes from Matthias Pfaller.
...
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
not splx, but rett is now used to reenable CPU interrupts when leaving the
interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000
1995-09-26 20:15:57 +00:00
chuck
b3ecc4c310
make sure devopen() sets pd->devtype properly when BOOTXX is defined
...
(should be DT_BLOCK). otherwise the bootxx boot block will fail if
you are on a system with a v2 openprom [because it will not do the
v2_seek in obp_strategy()]. fixes the problem recently noted on
the port-sparc list by matthew green <mrg@eterna.com.au>. i tested
fix on a ss2 with a v2 prom.
1995-09-26 20:07:53 +00:00
gwr
3c868e07f9
New DVMA interface, and various cleanup.
1995-09-26 04:01:53 +00:00
gwr
48fc6c37a0
Correct child_return() so child is charged for its cpu time.
1995-09-26 03:53:46 +00:00
pk
f33cf7c909
Correct cgtwo address.
1995-09-25 22:33:37 +00:00
jonathan
f28ebc66ca
Fix SCC bug that broke getty on pmax SCC lines: if RAW and LITOUT were
...
both off, haracters with their top bit clear were interpreted as a delay.
This (strange) behaviour is still available if SCC_PARITY_MEANS_DELAY
is defined.
1995-09-25 22:10:56 +00:00
jonathan
95a27d405b
Update pmax kernel to compile with -Werror:
...
update MAXINE desktop bus driver to pass a softc to interrupt
handler. The softc is still statically allocated.
1995-09-25 21:12:33 +00:00
jonathan
ed4d846a84
Update pmax kernel to compile with -Werror:
...
Add prototypes to the driver switch for old-style 4.4bsd/pmax device drivers
(i.e., the old pmax SCSI drivers).
1995-09-25 21:10:03 +00:00
jonathan
51d59ca152
Update pmax kernel to compile with -Werror:
...
Fix the initializer of the prom bootinit() function, to take a char* that's
(presumably) the name of the file to boot -- even though it's not used.
1995-09-25 21:06:29 +00:00
jonathan
cd887a9930
Add "kvtophys()", which maps MIPS R2000 kernel-virtual addresses to physical addresses,
...
so they can (e.g.) be written to DMA mapping registers.
1995-09-25 20:36:23 +00:00
chuck
b47de9fb69
new "xy" disk device driver from me.
...
the "xy" driver runs Xylogics 450/451 SMD disk controllers.
1995-09-25 20:35:14 +00:00
jonathan
06bd2712e9
Update pmax kernel to compile with -Werror:
...
Update TURBOChannel and ioasic interrupt-establish routines to pass on their
device argument as a "void *", since that's how all the pmax interrupt handlers
are declared.
1995-09-25 20:33:26 +00:00
chuck
25563b1f82
add config info for "xy" xylogics 450/451 driver
1995-09-25 20:27:30 +00:00
chuck
8d19642cd6
add "xy" xylogics 450/451 config stuff
1995-09-25 20:20:27 +00:00
chuck
1779adf6be
minor cleanups:
...
- don't let pcyl go unassigned if we have a non-sunos disklabel.
if nothing else, guess pcyl = ncyl + acyl.
- don't use bogus disklabel data if disk label is invalid
(xdgetdisklabel() now returns if label was ok or not).
- move xddriver decl. before start of actual code (cleanup).
1995-09-25 20:12:44 +00:00
chuck
2aff99a206
bug fix: xddummystrat() was clearing all but B_BUSY when it should
...
have been clearing just B_BUSY (s/B_BUSY/~B_BUSY/). this
fixes hard hang when reading disklabel when booting system.
minor clean up: added a few prototypes and only fool with bootpath
if booting the system (in xdattach).
1995-09-25 16:02:09 +00:00
jonathan
27361456c5
Force a delay after calling SCC_WRITE_DATA() to give the chip
...
registers time to settle. DELAY(2) is reportedly enough. Without the
delay, output characters are occasionally doubled.
1995-09-25 04:30:43 +00:00
jonathan
7bb66692c0
Add fine-grain clock code which uses the 25 MHz TURBOChannel bus-cycle
...
counter on 5k/240s to interpolate to microsecond-resolution clock
in microtime(). Only the "rev B" ASIC in 5k/240s is known to have
this counter; other models may or may not. This gives microsecond
resolution at user-level, and up to 40ns resolution (modulo the
nominal 5(?) 40MHz cpu cycles for reads to complete) in the kernel.
Change the IOASIC reset function to set up the DMA mapping for the
53c94. Allocate 16 Kbytes of DMA buffer for 53c94 ASCs under an IOASIC,
as the 3MAX baseboard and TC options have 128 Kbytes of static
bounce buffer, and the drivers really _should_ support 16Kbyte
I/O requests. (They don't always.)
Give the LANCE a hard reset on 5k/240s, just to be on the safe side.
(the 5k/240 I use sometimes reported errors at boot time.)
1995-09-25 04:21:01 +00:00
jonathan
462ef77234
Use the new "struct rconsole"; changes I apparently forgot to commit with
...
pmax/dev/fb.c.
1995-09-24 23:13:00 +00:00
pk
825bd034de
Move pseudo swap block device to major 4 to make way for `xy'.
1995-09-24 20:45:27 +00:00
briggs
4d52f57876
Add Technology Works ethernet card. From
...
Kazunari Nakamura <kazu@nkk.co.jp>.
1995-09-24 14:13:56 +00:00
thorpej
a33b9f4fdb
Assume primary swap is `b' partition, not `root partition + 1'.
1995-09-24 02:18:11 +00:00
chuck
4408ec71bf
init bad144 table before we actually try and read anything from the
...
disk, rather than init'ing after reading block 0 [in case we get an
error reading block zero].
1995-09-24 00:27:59 +00:00
leo
44561deb01
Add support for the FX-card - Falcon mem. extension - (Nat!)
1995-09-23 20:31:21 +00:00
leo
7af927b56d
Make sure the prototypes and inline definitions are included.
1995-09-23 20:29:16 +00:00
leo
afea10f476
Correct mapping for new (iso-8859-1) fontsets (Thomas Gerner).
1995-09-23 20:27:15 +00:00
leo
f28a41635b
Make them compliant to iso-8859-1 (Thomas Gerner).
1995-09-23 20:25:34 +00:00
leo
c150cc4d37
PROF -> GPROF
1995-09-23 20:23:28 +00:00
leo
e44fc4282e
Use -msoft-float as suggested by Gordon Ross.
1995-09-23 20:22:01 +00:00
thorpej
3810bc32eb
Compile the system installation program and install it in /usr/mdec/rbootd
...
as SYS_INST.
1995-09-23 17:40:54 +00:00
thorpej
a8c323442d
Add a standalone system installation program. Currently implements:
...
* Prompt user for disklabel information and label disk.
* Copy miniroot image from NFS server to `b' partition.
* Boot kernel in miniroot image into single-user mode.
Hooks for tape support are there, but the meat for that isn't implemented yet.
1995-09-23 17:38:51 +00:00
thorpej
a35f639de0
If compiled for the system installation program, prompt for myip, gateip,
...
netmask, serverip, and path rather than using rarp/bootparam.
Catch up with libsa changes.
1995-09-23 17:31:10 +00:00
thorpej
d429f2e11f
Re-arrange a mite; for the system installation program. Catch up with libsa
...
changes.
1995-09-23 17:28:11 +00:00
thorpej
188f6e6912
Add *close() routines. Basically, zaps softc structure so that partition
...
information will be re-loaded upon next open.
Catch up with libsa changes.
1995-09-23 17:19:58 +00:00
thorpej
b8e9fb1b0b
Catch up with libsa changes.
1995-09-23 17:17:03 +00:00
ragge
2572267bae
relocation_info added.
1995-09-23 14:57:40 +00:00
chopps
96163f6aa5
fix typo
1995-09-23 13:42:03 +00:00
chopps
40a6506694
add memcpy entry
1995-09-23 08:14:36 +00:00
gwr
23ee56022d
Cleanup, and catch up with libsa changes.
1995-09-23 03:42:17 +00:00
gwr
13d9b9d700
Sync up with the sparc version.
1995-09-23 03:40:28 +00:00
briggs
e23598f24f
Much improved pdma transfers.
...
Still not nearly as fast as FWB's drivers under the MacOS.
Uses the "blind" transfer method instead of polled pdma.
1995-09-23 01:11:42 +00:00
jonathan
21f7aa38f6
Update the pmax rcons pseudo-device driver to work with the sys/dev/rcons
...
version of rconsole.
1995-09-22 23:48:20 +00:00
phil
7ed7d6148f
Move the C struct to the properly protected place.
1995-09-22 23:19:30 +00:00
thorpej
42662e7b9c
Need <sys/mount.h>
1995-09-22 15:29:33 +00:00
thorpej
f03897c2b6
"Oops." Get the declaration of sys_arch() correct.
1995-09-22 15:27:10 +00:00
jonathan
d1234038d4
Rename the force-all-pending-writes to memory function to wbflush().
...
Keep the old Mach-derived name "MachEmptyWriteBuffer()" as an alternate
entry point.
1995-09-21 23:28:31 +00:00
thorpej
7c36f209e7
Need <sys/mount.h> now.
1995-09-21 22:26:04 +00:00
briggs
fc919965e8
Make sunos_sigreturn() match prototype.
1995-09-21 11:41:04 +00:00
briggs
01be7f2b8c
Need sys/mount.h for fhandle_t.
1995-09-21 11:27:43 +00:00
briggs
4a9cf8407c
Fix a warning.
1995-09-21 11:13:27 +00:00
thorpej
ddf9c6da16
Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
...
current reality.
1995-09-21 07:27:52 +00:00
briggs
fbd9919364
Fix warning and use __P for prototypes.
1995-09-21 03:36:25 +00:00
briggs
b895726b5c
MACCCLASSIC is Color classic. And it's more like an LC than hopeless.
1995-09-21 01:56:31 +00:00
jonathan
0641f09bfb
Include <sys/mount.h>, as the new <sys/syscallargs.h> won't compile without it.
1995-09-20 23:33:25 +00:00
briggs
de36f970fb
Fix a few oversights. From Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
1995-09-20 13:03:21 +00:00
jonathan
2991316b06
Remove unecessary references to arch/sparc/rcons/raster.h, and some other lint.
1995-09-20 05:36:13 +00:00
jonathan
3589d052f0
Add gory debugging, because I don't have access to a MAXINE to test
...
the baseboard framebuffer driver with rcons and it reportedly didn't work.
1995-09-20 05:19:54 +00:00
jonathan
d0c0f7f738
Fix initialization of MAXINE xcfb as console.
1995-09-20 05:13:06 +00:00
jonathan
df58dc7d89
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-20 04:33:00 +00:00
thorpej
3253873a9e
Use `files.ultrix'
1995-09-20 00:25:44 +00:00
thorpej
03c87b6ebc
Use `files.osf1'
1995-09-20 00:20:18 +00:00
thorpej
a11f0c987e
Compile kernel with -Werror and -fno-builtin.
1995-09-19 23:57:55 +00:00
thorpej
970f736653
Compile the kernel with -Werror -fno-builtin.
1995-09-19 23:54:29 +00:00
thorpej
c9dfdd20b6
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:48:41 +00:00
thorpej
ad05d707bf
Compile the kernel with -fno-builtin.
1995-09-19 23:34:06 +00:00
thorpej
2d61359f60
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:33:12 +00:00
thorpej
5ac5b98a9c
Compile the kernel with -Werror and -fno-builtin
1995-09-19 23:32:21 +00:00
thorpej
065ee11549
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:30:54 +00:00
thorpej
a7417b3ca6
Compile the kernel with -fno-builtin.
1995-09-19 23:28:06 +00:00
thorpej
b903d705da
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:26:58 +00:00
thorpej
bca85a86b1
Compile the kernel with -fno-builtin.
1995-09-19 23:25:29 +00:00
thorpej
7d7396c414
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:53:47 +00:00
briggs
516ddf511f
Wrap only the message in ifdef DIAGNOSTIC.
1995-09-19 03:18:15 +00:00
pk
c030fa6ef2
Install in /usr/mdec
1995-09-18 23:33:42 +00:00
pk
aa41c30406
Don't strip bootxx on installation.
1995-09-18 23:32:41 +00:00
pk
4025edc861
Make this compile again by calling readdisklabel() with a dummy strategy routine.
...
XXX - need some reorganization to this from xdopen().
1995-09-18 23:26:39 +00:00
pk
371dd67d56
sync filesystems just prior to writing the bootblocks to the raw device.
1995-09-18 22:36:19 +00:00
pk
974115eb54
Adapt to libsa changes & some other minor nits.
1995-09-18 21:31:44 +00:00
chuck
05f929580f
read superblock into &sblock rather than LOADADDR. we can't read
...
into LOADADDR because it can't be mapped into DVMA space. this fixes
a dvma panic on a sun4 boot from an xd disk.
1995-09-18 20:24:53 +00:00
chuck
24ba08adca
Fixed RELOC's to be hex numbers (as expected) rather than decimal.
...
(e.g. s/340000/0x340000/). Fixes DVMA panic on my sun-4/280 when
booted diskless.
1995-09-18 19:52:15 +00:00
briggs
909842fb1f
Correct jClkNoMem address for C650 from
...
nick@csua.berkeley.edu via Walter Ruetten.
1995-09-18 13:55:09 +00:00
briggs
e8dbcda856
Do not define MIN_PHYS here--it is m.d..
1995-09-18 13:52:43 +00:00
briggs
cb5010a4fe
Fix a spelling slight. Grab the faulting address if nofault in bus error.
1995-09-18 13:51:25 +00:00
briggs
927d165081
Optimize the via interrupt processing routines a tad. From
...
chas@ohm.nrl.navy.mil (Charles J. Williams).
1995-09-18 03:15:43 +00:00
jonathan
c8a3bfd5ed
Update files.pmax to use Ted Lemon's port of the sparc rcons glass-tty fb
...
driver, the "generic" fb pseudo-device driver, and dev/cons.c.
Update an example new-config file (NEWCONF) to use them.
1995-09-18 03:09:03 +00:00
jonathan
9e925a1b42
Add cdevsw and bdevsw entries for the machine-independent sd and st drivers.
...
Add cdevsw and bdevsw entries for the old-pmax tz SCSI tape driver, and
add a do-nothing definition of the requisite tzdump().
1995-09-18 03:04:53 +00:00
jonathan
e18d468a1a
move DEC qvss/pm - compatible (kernel tracks mouse) mouse-input parser
...
to qvss_compat.c Move low-level mouse initialization to lk201.c.
1995-09-18 03:01:22 +00:00
jonathan
6d9de6f768
Fix qvss/pm compatible ioctl to set colormap entry.
1995-09-18 02:57:31 +00:00
briggs
cb4eb50b28
Change HwCfgFlags4 to something a bit more mnemonic.
1995-09-17 21:28:33 +00:00
pk
f447526366
vmes => vmes0
1995-09-17 21:11:13 +00:00
pk
11f1ea06af
These files have moved to sys/dev/rcons.
1995-09-17 21:08:25 +00:00
pk
2c523b5941
Remove rcons lines.
...
Add cgtwo.
1995-09-17 21:03:36 +00:00
pk
30150218f5
Add cgtwo0.
1995-09-17 21:02:56 +00:00
pk
c5bc107461
cgtwo framebuffer, cloned from cgthree.c and sun3's cg2.c.
...
Note: untested, shall be considered a framework to get things started..
1995-09-17 20:53:43 +00:00
pk
c92d076f5b
Change interface to th `fb' pseudo device to not need the major device
...
number (a la sun3).
Put in new glue for rcons.
1995-09-17 20:43:39 +00:00
pk
b89096d14f
Remove all rcons related stuff from `fbdevice'; this is now defined in
...
dev/rcons/rcons.h.
1995-09-17 20:41:30 +00:00
briggs
1c8c505974
Fixes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to avoid panic()s when we read the PRAM values while ROM
vectors are missing.
1995-09-17 18:51:40 +00:00
briggs
b528dcf5c2
Fix from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to prevent his last changes from causing a panic if some
values are not filled in in the ROM vector table.
1995-09-17 18:50:17 +00:00
briggs
c4250f7102
Add rom vector for LCIII from Peter Kohler (kohler@ife.ee.ethz.ch)
...
via Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
1995-09-17 05:22:57 +00:00
pk
a32163f292
Correct some prototypes.
1995-09-17 00:50:54 +00:00
pk
f97c30e5fe
Network booting; "oldmon" support; combine all functionality in single images.
...
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
1995-09-16 23:20:22 +00:00
briggs
a106882a85
Only use PIO instead of PDMA if DRIVER_NOINT.
1995-09-16 18:22:33 +00:00
ragge
3579b04cac
Obsolete when not using Microvax rom anymore.
1995-09-16 16:21:56 +00:00
ragge
c378250058
Calls to MicroVAX rom routines removed.
1995-09-16 16:20:18 +00:00
chopps
34373365cb
Add minimal dumpfile support.
...
Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions.
Change siop drivers to better handle sync.
Remove diag. done for ide -- its redundant as the ROM does similar.
fixed ite_filter to not panic if typing before the device is fully setup
All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-16 16:11:03 +00:00
ragge
67abd74816
struct rpb -> include/rpb.h
1995-09-16 15:58:57 +00:00
ragge
01c7626f80
Load microcode file on 11/750.
1995-09-16 15:54:20 +00:00
jtc
864f186a4e
Use MAN instead of MAN8 (although it doesn't matter here because vgaio
...
is neither built nor installed).
1995-09-16 15:52:38 +00:00
jtc
6e9c7ee5a8
Use MAN instead of MAN3 and MAN5
1995-09-16 15:49:40 +00:00
ragge
64a23e9a8b
Take care of xon/xoff (== discard them).
1995-09-16 15:48:49 +00:00
jtc
ee21163cab
moved up one level in directory structure
1995-09-16 15:47:27 +00:00
ragge
7bffdf561e
Removed bug to prevent division-by-zero when accessing unlabelled disks.
1995-09-16 15:43:25 +00:00
briggs
ccaff4431c
Simplify doboot().
1995-09-16 15:35:05 +00:00
briggs
ea4e385abd
Map in the VIA space for the bloody Mac II ROMs that directly reference
...
a hardware address. Also map in the ROM space before we call doboot().
1995-09-16 15:33:54 +00:00
briggs
6ed4261a1b
Fix segment table reference bug (from Michael Hitch).
1995-09-16 15:09:28 +00:00
briggs
a8b0260a05
Sync. with atari ncr5380.c -- mainly whitespace changes.
1995-09-16 15:06:55 +00:00
leo
dff8e2275e
Fix segment table reference bug (Michael Hitch)
1995-09-16 14:18:09 +00:00
leo
a2a0fe9c66
- Handle devices that do not support identify messages (Allen Briggs)
...
- Add pdma_ready() hook (Allen Briggs)
- Increase timeout to 1000 (Matthias Pfaller)
1995-09-16 14:15:10 +00:00
ragge
395e73a5d7
ka650 added. Converted to KNF.
1995-09-16 13:34:20 +00:00
ragge
ed3a9bf3b0
TMSCP support added.
1995-09-16 13:18:27 +00:00
ragge
eefa8685a2
Bootblock support for tmscp added, used on MicroVAX.
...
MicroVAX rom routines not used anymore, too inconsistent when
not using FILES-11 filesystem.
1995-09-16 13:01:06 +00:00
ragge
b5733df6fb
Standalone support for TMSCP tapes, based on ra disk driver.
1995-09-16 12:57:35 +00:00
ragge
7e902b634e
Foolish and easy standalone prog to edit disklabels.
1995-09-16 12:56:03 +00:00
ragge
8feecb9503
Rick Macklem's copy hack that can do standalone (multi-)volume
...
copies from anything to anything.
1995-09-16 12:53:49 +00:00
briggs
214a1bac9f
Fixes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
to use ROM routines to read and write PRAM times, etc..
1995-09-16 12:35:53 +00:00
briggs
bee931c117
Set timezone to 0. The booter's GMT bias should be used, instead.
1995-09-16 12:33:06 +00:00
briggs
2e06f3f2bb
More changes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
for correct handling of timezones and PRAM <-> system time conversion.
1995-09-16 12:31:13 +00:00
ragge
007a539df5
Readme & install files added and updated.
1995-09-16 12:00:19 +00:00
briggs
4dc81200f5
Rename scsi_main_irq() to pdma_ready().
...
Missed a few ATNs in last patch. (pointed out by Leo).
Raise timeout from 100 to 1000. From Leo.
1995-09-16 11:45:18 +00:00
jonathan
008afe8e46
Replace the old 4.4bsd/pmax framebuffer glass-tty font with one
...
suitable for the NetBSD/sparc-derived "rcons" framebuffer glass-tty.
1995-09-16 02:05:11 +00:00
briggs
048e948791
As Leo pointed out, my last change was not safe. This one should be.
...
I added two new bitfields to ncr_softc. They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN. If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield. If it fails
thereafter, we treat it as we did before.
1995-09-15 01:52:18 +00:00
briggs
a0d6a95720
indentify.
...
Bring in a few changes from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de ).
Assume that PRAM time - GMT bias (set in the booter) is the current time
in UTC.
1995-09-14 23:44:12 +00:00
pk
db43cabe32
Re-instate configuration print routines, following Chris' suggestion.
...
Only prints something if there's no scsi bus to attach.
1995-09-14 20:38:53 +00:00
hpeyerl
8acf48ade5
update comment to include Etherexpress.
1995-09-14 12:46:42 +00:00
briggs
1b34b69c93
Gah... The Asante SCSI/ethernet box doesn't answer the ATN request
...
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.
1995-09-14 02:54:05 +00:00
briggs
d8ab74fcf2
Honor new MACH_CLASSIIvx.
1995-09-14 02:49:11 +00:00
briggs
13c1f2d48b
Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
...
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
9c61c22d66
Clean up message a tad.
1995-09-14 02:43:51 +00:00
jonathan
d7b9b56e07
Rename the old pmax SCSI driver's "struct scsi_device" to
...
"struct pmax_scsi_device", to avoid name conflicts with the sys/dev/scsi
SCSI driver.
1995-09-13 19:35:53 +00:00
thorpej
f47d026fb3
Fix cosmetic typo in kernel name prompt.
1995-09-13 18:52:39 +00:00
jonathan
a0b0b167c1
Include the new fbio.h, fbvar.h, and lk201.h header files introduced
...
with rcons, as dtop.c supplies keyboard and mouse input from the desktop
bus, even though it hasn't itself changed.
1995-09-13 07:46:03 +00:00
jonathan
d69221cacc
Delete the definition of struct VDACregs (the registers of a Brooktree
...
bt478 vdac); it's now in bt478.h.
1995-09-13 05:46:02 +00:00
briggs
18a11cecc7
Update a comment.
1995-09-12 22:52:08 +00:00
jonathan
f5dc3f3d83
Fix bug (introduced by passing sc's rather than unit numbers) in the
...
computation of cfb interrupt-reset address for the 3MIN's interrupt routine.
1995-09-12 22:36:09 +00:00
briggs
d8dc3d91c0
Update for Leo's changes.
1995-09-12 22:31:45 +00:00
chuck
851669ceab
cleaned up bootpath code:
...
- v2 openprom disk boot generates "/sbus/esp/sd@3,0" which we translated
into "/sbus@0,0/esp@0,0/sd@3,0"... this caused esp.c to reject
the bootpath because it was looking for sbus slot/offset 0,0.
changed the code to generate "/sbus0/esp0/sd@3,0" to fix this
panic.
- when generating fake boot paths, generate them with unit numbers
rather than slot/offsets (thus, /obio@0,0 becomes /obio0, as
does vmel and vmes).
- fixed up comments to reflect these changes
tested new code on: 4/280 (diskless), 4/360 (diskless), 4/360 ("xd" disk),
4/370 (scsi disk), ss1 w/v1 openprom (diskless),
ss1 w/v1 openprom (scsi disk), ss2 w/v2 openprom (diskless),
ss2 w/v2 openprom (scsi disk).
1995-09-12 22:03:02 +00:00
briggs
1ae7af5b59
Updates from Leo's changes in the atari port.
1995-09-12 21:20:18 +00:00
briggs
639f90ef6e
Update from Leo's changes.
1995-09-12 21:05:58 +00:00
leo
e34d65cb12
- Fix a timing bug in the loop, that was introduced in the previous version.
...
- Added some code to reject unsupported messages correctly.
1995-09-12 19:58:53 +00:00
jonathan
b216a24d04
Rename the 4.4bsd/pmax framebuffer glass-tty console structs to
...
"struct pmax_fbtty". Remove most of its fields, since the fields
in the struct fbinfo render most of them unecessary, and the pmax
now uses rcons anyway. Moe the lk-201 keycode definitions to lk201.h,
so rcons can use them too.
1995-09-12 07:51:35 +00:00
jonathan
6a072ce81d
Remove the old cdevsw entries for cfb, mfb, xcfb and pm framebuffers.
...
Add an entry for the generic framebuffer "fb" pseudo-device, which
should be used instead of the hardware-specific drivers.
1995-09-12 07:43:58 +00:00
jonathan
2f387d871a
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-12 07:32:31 +00:00
jonathan
ab85287371
Correct a typo in the PROM id string of the sfb in sfb_match().
1995-09-12 07:30:45 +00:00
jonathan
45d06a39e5
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-12 07:28:06 +00:00
jonathan
f261206292
Add entry for MAXINE xcfb baseboard framebuffer to the MAXINE
...
turbochannel configuration table.
1995-09-12 07:27:07 +00:00
jonathan
9a914b5b01
Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
...
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).
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.)
Pass softc pointers to the scsi and ethernet kn01 (DS_PMAX) drivers,
rather than having unit numbers wired into the base-level interrupt
handler.
1995-09-11 22:03:00 +00:00
jonathan
6746e9f52e
Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
...
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).
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.)
Move consinit() from here to cpu_cons.c.
Eliminate the old old pmax-specific console driver, whcih didn't
know about vnodes. Use sys/dev/cons.c instead.
Delete the old 4.4BSD/pmax TURBOChannel probe routines and ROM-to-driver
name-mapping functions.
1995-09-11 21:58:23 +00:00
jonathan
eefb5e8d1b
Rename the old 4.4bsd/pmax old-style config "struct device" to
...
"struct pmax_device" to avoid conflict with <sys/device.h>.
Move the glue routines for config.old pmax SCSI device probing from
autoconf.c to conf-glue.c.
1995-09-11 21:49:37 +00:00
jonathan
187de8a215
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.
Fix an argument glitch between consinit() and pminit().
Change consinit() to use PROM output for remote consoles, because
the serial drivers aren't yet initializable when consinit() is called.
1995-09-11 21:37:24 +00:00
jonathan
b4100ef220
Fix argument glitch between pminit() and consinit().
1995-09-11 21:31:25 +00:00
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
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
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
fvdl
c08d930690
Get address of buffer right when returning from graphics mode.
1995-09-10 10:45:16 +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
fvdl
df2f99818a
Get notion of VT number right.
1995-09-07 21:55:43 +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
pk
bac2393fb0
Probe config registers correctly.
1995-09-06 12:35:38 +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
cgd
0f14e95f52
replace bogus tcl with tch, thanks to briggs
1995-09-05 15:07:05 +00:00
briggs
c91abc3e61
Remove infinite loop per Leo and Mycroft.
1995-09-05 11:21:34 +00:00
leo
7640742d5b
Fix possibly endless loop (mycroft) and add fix requested by Allen Briggs.
1995-09-05 07:02:21 +00:00
fvdl
1b8c8d3906
Fix broken VT_WAITACTIVE ioctl (from pcvt 3.30, needed for Linux
...
svgalib binaries).
1995-09-04 22:33:21 +00:00
leo
eb9d1db57a
Right align color values in the bytes.
1995-09-04 19:41:39 +00:00
leo
eee0dbbda7
Allow chars > 0x7f to be displayed on the ite's
1995-09-04 19:39:21 +00:00
leo
75dfa4a054
Add memcpy entry as suggested by gwr.
1995-09-04 19:37:45 +00:00
chopps
c392350cba
sbic and board changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-04 13:04:40 +00:00
chopps
4be2a61f7f
mmutype fix from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-04 12:56:47 +00:00
pk
b04e172458
Rename a `xxx' function.
1995-09-04 09:53:53 +00:00
briggs
19a99aa395
Get softc as parameter in interrupt function, using new changes from
...
via.[ch]
1995-09-04 05:07:16 +00:00
briggs
129ca2cea9
Make VIA2 interrupts pass an argument in and let the scsi_register_*_intr
...
functions use that, too.
1995-09-04 05:05:58 +00:00
briggs
4f76655592
Fix a goof in the latest changes.
1995-09-04 05:05:11 +00:00
briggs
02883e7341
Remove an extra "talk" command--from Ken Nakata <kenn@remus.rutgers.edu>
1995-09-04 02:50:57 +00:00
pk
003751356c
Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422). Also includes
...
bootpath glue (PR#1414) (this needs finishing off in disksubr.c).
1995-09-03 22:21:27 +00:00
pk
8bdbf4be70
Update from Jason: eeprom device needs 8-bit access.
1995-09-03 21:55:36 +00:00
pk
af6e3d03cf
Add data structures used to interface to the monitor-resident drivers.
1995-09-03 21:36:06 +00:00
briggs
86d6e121cd
Add support for Extended Apple Mouse Protocol from
...
Ken Nakata <kenn@remus.rutgers.edu>.
1995-09-03 20:59:53 +00:00
briggs
b394d7fc7d
Enable ADB interrupts unconditionally if not using setup_egret().
1995-09-03 20:47:21 +00:00
briggs
de4100b643
Clean up a bit.
1995-09-03 14:54:31 +00:00
briggs
761b3a8340
Clean up some.
1995-09-03 14:51:38 +00:00
briggs
30c554fc9d
Changes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
...
This forces the need for booter version 1.8.
1995-09-03 14:37:16 +00:00
briggs
745cb60f16
Note that this is now an obsolete driver.
1995-09-03 03:39:38 +00:00
briggs
e9a9533544
Make the new m.i. scsi driver the default.
1995-09-03 03:37:32 +00:00
briggs
166af00381
Make a local copy of the atari m.i. scsi driver sources for the time
...
being. Some people aren't supping arch/atari and this allows those
people to get the sources.
1995-09-03 03:36:35 +00:00
mycroft
b8b9c4c9ff
Make sure vt_coldinit() is always called before vt_coldmalloc().
...
Remove pcvt_kbd_raw.
1995-09-03 01:20:33 +00:00
thorpej
fcdfdcb926
Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs.
1995-09-03 00:44:43 +00:00
thorpej
7c55f97d9b
Really batting 1.000 today...
1995-09-03 00:07:21 +00:00
thorpej
231db77094
Fix thinko in netboot-related changes.
1995-09-02 23:36:09 +00:00
leo
4eb595b1d2
Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs.
1995-09-02 19:44:45 +00:00
briggs
a7783604fd
Optimize this some. Still seems slower than it ought to be.
...
Register interrupt functions with via.c.
Clean up somewhat. Turn off DEBUG.
1995-09-02 19:29:42 +00:00
briggs
4ed102bbd4
Optimize accesses to VIA2 a bit.
...
Force SCSI driver to register interrupt functions and remove default
handlers.
Bring in a few changes from
Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>--more to come later.
Define VIA interrupt functions as returning void, not long.
1995-09-02 19:27:34 +00:00
briggs
42d7c233d5
Very minor cleanup.
1995-09-02 05:44:07 +00:00
briggs
9f203a792f
Weren't quite ready for the last change.
1995-09-02 05:41:12 +00:00
briggs
e60752e507
Rearrange a bit.
1995-09-02 05:35:59 +00:00
thorpej
acdc651ece
Add support for network booting; uses the following procedure:
...
rbootd->rarp->bootparam->nfs
Add "reset" option to disk and network boot prompts to reload boot code.
1995-09-02 05:04:14 +00:00
thorpej
a23346b0d5
Grok booting from the network.
1995-09-02 04:54:06 +00:00
thorpej
aa213636df
Example configuration for a diskless hp300.
1995-09-02 04:39:51 +00:00
briggs
bee422d998
DTRT. This should be considered the base version of the file.
1995-09-02 03:19:37 +00:00
mycroft
29053c58b2
SA_ONSTACK --> SS_ONSTACK
1995-09-01 20:05:59 +00:00
pk
9b3308eeec
Enable writing of disklabels (Many thanks to Jason Thorpe, Gordon Ross
...
and Matthew Green).
1995-09-01 17:19:50 +00:00
briggs
b6fb219037
Process via2/rbv interrupts from low bit to high bit.
1995-09-01 04:10:11 +00:00
briggs
e46e8e7a57
A first pass at a scsi driver based on the Atari ncr5380{reg.h,.c} code.
1995-09-01 03:43:49 +00:00
ragge
2c7359091d
Patches from Ken Wellsch/Ken Lalonde to support some Dilog MSCP cards
...
(DQ256 SMD card, SQ706A and SU726A SCSI card).
1995-08-31 22:24:39 +00:00
fvdl
10101d52ba
Only define some vars (one of pcvt-specific type) when pcvt is configured.
...
Fixes PR #1424 (from Mike Long)
1995-08-31 09:33:10 +00:00
briggs
d3930dd627
In child_return(), pass oticks of 0 to userret() instead of p->p_sticks to
...
avoid slighting the child of a timer tick if it gets one after starting.
Thanks go to cgd for noticing this.
1995-08-31 03:22:55 +00:00
phil
f9399fadc7
add option CON_BRK_PANIC to be able to force a panic by 3 consecutive
...
breaks without any input on the console port.
1995-08-30 23:51:40 +00:00
fvdl
0324e91dae
Remove VT-switch disabling hack now that pcvt handles this.
1995-08-30 00:32:51 +00:00
fvdl
9fc36ab1a4
* Don't scroll by setting the CRT start address when in graphics mode, and
...
make sure to use the right buffer (fixed in the same way as pcvt 3.30)
* Maintain keyboard state locally per VT. This makes sense, enables switches
between VTs with different kbd states, and aids Linux VT emulation.
1995-08-30 00:29:09 +00:00
pk
b1ae3d7339
Garbage collect.
1995-08-29 23:09:29 +00:00
pk
7a84d590e0
Add bwtwo@obio specs (from Jason Thorpe).
1995-08-29 22:50:36 +00:00
phil
022e1038fd
Use pc532 specific in_cksum.c.
1995-08-29 22:48:02 +00:00
phil
3564c1fcc2
More changes to ncr driver to try to get it working. (From Matthias Pfaller)
1995-08-29 22:44:27 +00:00
phil
d9c05825be
Changes for gdb from Matthias Pfaller.
1995-08-29 22:37:41 +00:00
pk
bc5b188714
Define bwtwo at obio & vme (from Jason Thorpe).
1995-08-29 22:28:07 +00:00
pk
a4e214aef0
If we're the console, say so in attach message.
1995-08-29 22:26:37 +00:00
pk
a159e45699
Support for sun4 (from Jason Thorpe).
1995-08-29 22:20:01 +00:00
pk
15c28bc39a
Sun4s must set baud rate on the mouse port (from Jason Thorpe).
1995-08-29 22:15:35 +00:00
pk
f9777fe9ef
Export `eeprom_va' (from Jason Thorpe).
1995-08-29 22:13:19 +00:00
pk
6f1f25d6ed
Export `eeprom_va' so drivers can peek at the configuration (from Jason Thorpe).
1995-08-29 22:11:58 +00:00
phil
f2d39a40d1
Changes for new INSTALL generic kernel and compressed kernel boot.
1995-08-29 21:55:39 +00:00
leo
33a26fbd65
Remove FPU detection and report on stdout instead of stderr.
1995-08-29 20:35:15 +00:00
leo
8f5551f5fd
Fix rule for manual page.
1995-08-29 20:26:39 +00:00
pk
4bdcdaa4e3
define reserved bits in cfg2 & cfg3 registers correctly.
1995-08-29 20:05:22 +00:00
pk
7e13adf019
Check for absent boot device where it matters.
1995-08-29 19:59:49 +00:00
pk
bd12f97e97
Avoid NULL dereference
1995-08-29 19:53:59 +00:00
jonathan
1e95db0970
Commit a copy of pmax/asic.h from my development source tree, since
...
the pmax lance driver that uses the machine-independent am7990.c driver
needs some definitions for it. This is a partial re-merge of NetBSD/alpha's
tc/asic.h back to the pmax, with the addition of symbolic #define's
for registers and bits in registers that are pmax model-specific.
1995-08-29 11:52:00 +00:00
jonathan
9557f68db3
Change pmax (asc and sii) SCSI drivers to use "needs-flag", as the
...
drivers have been fixed to not require "needs-count".
Add back the lines for the "rcons" console driver, even though it's
not merged into the pmax port yet, as conf.h was patched to include
"rcons.h". Adding the device here, but not configuring it (e.g., in
GENERIC) keeps conf.c happy until rcons code is merged.
1995-08-29 10:12:48 +00:00
jonathan
5124d90b3b
Work around a NetBSd/pmax kernel bug inherited from 4.4BSD: the DEC
...
TURBOChannel cfb has a vertical-retrace interupt that cannot be disabled
in software. 4.4BSD and NetBSD don't supply an interrupt hander and
simply neverenable interrupts from slots with a cfb. This has never
ever worked with a cfb in a 3MIN (Decstation 5000/1xx), where a TURBOChannel
card in slot 0 (or 1 or 2) interrupts at the same IPL as spl0() (or spl1
or spl2), and there's also never been support for selectively enabling or
disabling those interrupts on a 3MIN, in either NetBSD or 4.4BSD.
This revision add an interrupt handler for the cfb, used only on 3MINs,
so that a 3MIN can boot with a cfb as console, and enable/disable of TC
slot interrupts can be debugged. (Serial consoles via ioasic SCCs still
don't quite work, and simply clearing the relevant bits in the R3000 cause
register is apparently over-ridden by a subsequent spl0() somewhere else.)
1995-08-29 09:56:23 +00:00
jonathan
2ddcaa8ac9
Fix references to ASIC_SLOT_RTC, which isn't yet defined on DECstations.
1995-08-29 09:43:37 +00:00
leo
bd699fca29
Fix typo in previous commit
1995-08-28 20:07:04 +00:00
jonathan
bb16b9c249
External declarations for Decstation model-specific interrupt handers.
1995-08-28 20:01:34 +00:00
leo
dd73a31ed8
Detect type and precence of an FPU in the kernel instead of relying on GEM.
1995-08-28 19:31:06 +00:00
fvdl
cf13e627f4
Undo unintended parts of previous change.
1995-08-27 21:30:00 +00:00
fvdl
a084a7d3dd
Remove bogus check in ioctl(fd, VT_RELDISP, VT_FALSE). Needed for
...
Linux VT emul stuff. This fix was already applied in pcvt 3.30
1995-08-27 20:59:00 +00:00
fvdl
9ca2821d22
A couple of definitions added for previous changes.
1995-08-27 20:57:18 +00:00
fvdl
040bcc367d
Add some yucky code to emulate Linux VTs well enough to make svgalib
...
stuff work reasonably well.
1995-08-27 20:56:38 +00:00
pk
70c3710dfd
minor tweaks from Matthew Green (PR#1410)
1995-08-27 18:58:48 +00:00
phil
6a179f1f2e
VOID minphys.
1995-08-27 04:07:53 +00:00
briggs
503d3c4927
Add constants for CSI's communications card.
1995-08-25 21:20:57 +00:00
phil
389484fe28
New kernels from Matthias Pfaller and addition of oldncr driver.
1995-08-25 07:58:21 +00:00
phil
441cd76f8f
Changes by Matthias Pfaller for generic support and dumping.
1995-08-25 07:52:18 +00:00
phil
0a3111b255
Various changes (from Matthias Pfaller) including support for a
...
more generic distribution kernel and dumps.
1995-08-25 07:49:04 +00:00
phil
47ff5d6b3d
More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
...
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.
1995-08-25 07:30:33 +00:00
briggs
ac0af4229f
Change VIA2:vPCR setting to allow scsi IRQ and DRQ.
1995-08-25 02:56:41 +00:00
jonathan
60e0c381c1
Fix autoconfig table initializers for 3MIN (tested) and MAXINE (untested).
1995-08-24 22:32:18 +00:00
ghudson
bbfb3349c0
Call doshutdownhooks() before resetting the CPU. This should probably
...
be in architecture-independent code.
1995-08-24 19:16:47 +00:00
chopps
f73f65da20
couple fixes from Eduardo E. Horvath eeh@btr.com
1995-08-24 15:46:19 +00:00
briggs
1ed5c0babc
Some code to support a vector passed in from booter 1.8.
1995-08-24 04:27:16 +00:00
briggs
0484bdaf59
Don't panic on NMI and only take notice if DDB.
1995-08-24 04:25:07 +00:00
jtc
0da9212559
recommanded -> recommended; PR #1395
1995-08-22 19:43:06 +00:00
jtc
356b42ba70
inclide -> include; PR #1400
1995-08-22 19:39:23 +00:00
ragge
90a621b682
Fixed USRPTSIZE trouble. Cleaned up.
1995-08-22 04:34:17 +00:00
jonathan
8522bd48f3
Move the pmax scc driver from sys/arch/pmax/dev to sys/arch/pmax/tc,
...
as it's a driver for a device under a TC IOASIC. The Alpha port also
has its scc driver in tc/scc.c, and the pmax driver scc is nearly the same
as the Alpha.
1995-08-22 04:28:41 +00:00
ragge
4ff0530b57
Changed way to calculate USRPTSIZE.
1995-08-22 04:28:20 +00:00
jonathan
7560ab9b68
Rework the pmax scc driver, which hadn't changed much from the 4.4bsd
...
pmax driver, to be diffable with the NetBSD Alpha driver. Specifically,
the pmax driver now uses register names dev/ic/z8530.h. The driver now
uses new-style config and dynamically-allocated softc structures. The
driver no longer resets the "other" channel on an SCC when changing tty
parameters. The #ifdef'ing away of processing of the output clist for
non-console lines is no longer done. (Non-console serial ttys might even
work now.) Other discrepancies between the pmax and alpha drivers, which I
don't understand yet, are marked by XXXes.
The 4.4bsd pmax console redirection code is still present, protected
by #ifdef TK_NOTYET. Diffs from the Alpha scc driver are now minimal.
Verified to boot on a Decstation 5k/240.
1995-08-21 21:42:10 +00:00
gwr
acbfd7b67d
Fix vectored interrupts, and do autovectored ones similarly.
1995-08-21 21:37:36 +00:00
gwr
35a5b206df
If a swap entry is being used as root, do not swap there.
1995-08-21 21:36:25 +00:00
jonathan
97cf65df4a
Change pmax ASC driver to use dynamically-allocated softc structures.
...
Concomitant changes to code that prints driver/unit name: use dv_xname
and dv_unit, instead of doing pointer arithmetic on elements of the static
softc array.
Remove support for old config. The old-config "driver" structure
is still present, because the pmax non-MI SCSI driver needs it.
Merge some off Per Fogelstrom's changes for the Pica driver,
which uses the machine-independent SCSI code. This is #ifdef'ed
out until the DMA is fixed to work on Decstations, too.
1995-08-21 21:22:43 +00:00
ragge
ce63fbf5f1
Bug fix in byte_swap_word(); didn't always make it.
1995-08-21 16:36:32 +00:00