Commit Graph

706 Commits

Author SHA1 Message Date
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
pk
dad96c6619 Add a few constants used for mapping bit and pieces in the kernel driver. 1995-10-04 00:21:27 +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
pk
82434458cc Get some of the bugs out. Thanks to David Gilbert for testing. 1995-10-02 09:07:03 +00:00
pk
13dcbfbb29 Make this work with OBJ dirs. 1995-09-30 21:43:35 +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
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
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
pk
f33cf7c909 Correct cgtwo address. 1995-09-25 22:33:37 +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
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
pk
825bd034de Move pseudo swap block device to major 4 to make way for `xy'. 1995-09-24 20:45:27 +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
thorpej
b903d705da Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:26:58 +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
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
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
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
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
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
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
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