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
pk
60a7c4c394
Add `sw' scsi adapter on obio (per Jason Thorpe, PR#1422).
1995-09-05 21:43:09 +00:00
pk
b04e172458
Rename a `xxx' function.
1995-09-04 09:53:53 +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
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
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
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
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
pk
70c3710dfd
minor tweaks from Matthew Green (PR#1410)
1995-08-27 18:58:48 +00:00
pk
a3bb091c9e
Do bootpath matching.
1995-08-18 22:03:59 +00:00
pk
f5252faa3b
Include exec header in length computation.
1995-08-18 21:44:01 +00:00
pk
8427fe6126
declarations
1995-08-18 10:47:46 +00:00
pk
7b7773a0c5
Use bootpath_store() to set next boot component; used in dk_establish()
...
to match `sd' devices against the PROM's boot path.
Detect DMA "overshoots" when handling odd-sized transfer sizes (e.g., xfers
from/to raw partitions), by using the "Transfer Pad" command when the
transfer count reaches zero.
1995-08-18 10:43:46 +00:00
pk
ffbae23b6e
Set `bootdv' if booted from the floppy drive.
1995-08-18 10:30:16 +00:00
pk
f828a4b04c
Add a debug flag.
...
Make `sc_dleft' a `ssize_t' since it's involved in a signed
comparison in esp.c.
1995-08-18 10:09:57 +00:00
pk
0596f75779
Use actual bus names (matches Chuck's bootpath code).
1995-08-18 08:20:26 +00:00
pk
6d3873af7e
Bootpath construction code and associated SCSI target mapping to aid
...
the search for the boot-device in `swap generic' kernels.
From Chuck, munched by me.
1995-08-18 08:14:28 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
pk
42802ac2fa
Drop si_minphys().
1995-08-16 23:01:16 +00:00
pk
de80daa3cd
Make MCOUNT() PIC-safe.
1995-08-14 15:44:36 +00:00
mycroft
0a601c87ba
Rename two functions.
1995-08-14 02:13:42 +00:00
mycroft
1e69f23205
Export bsd_to_svr4_sig[], and use it.
1995-08-14 02:07:57 +00:00
mycroft
9440382c88
svr4_stack_t --> svr4_sigaltstack
1995-08-14 01:13:29 +00:00
mycroft
7eba547264
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:29:56 +00:00
pk
ced95e1824
update from Chuck
1995-08-01 21:06:55 +00:00
cgd
ffe4785a58
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:33:32 +00:00
brezak
f8b400c446
Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241
1995-07-19 19:50:16 +00:00
pk
cdbe7b1bc5
Have esp_minphys limit transfers to MAXPHYS bytes.
1995-07-13 12:45:22 +00:00
pk
05daa72b3c
Move SUN4 console echo hack cnget() (from Chuck Cranor).
1995-07-13 12:02:19 +00:00
thorpej
f72d54fa88
Zap duplicate RCS id.
1995-07-12 05:47:47 +00:00
pk
8274dc04d1
si scsi driver configs.
1995-07-08 21:33:48 +00:00
pk
89cb640a97
si scsi driver, adapted from sun3 version by Jason Thorpe.
...
Note: re-arranged to use dev/ic/ncr5380* MI files.
1995-07-08 21:32:47 +00:00
pk
576bc844e5
Support KIOC_GETLAYOUT, so other than US keyboards can be dealt with better.
1995-07-06 05:35:34 +00:00
pk
12bdf1b787
KNFify a bit.
1995-07-05 19:55:02 +00:00
pk
41d3ba8d49
Commit to MACHINE_NONCONTIG.
1995-07-05 18:52:32 +00:00
pk
b8065a4244
remove a db_printf() that has been there for too long.
1995-07-05 18:51:41 +00:00
pk
10a0b4b79e
Prototype pmap_dumpsize() and pmap_dumpmmu().
1995-07-05 18:45:46 +00:00
pk
a796c37169
Re-arrange dumpconf() and dumpsys().
1995-07-05 18:40:50 +00:00
pk
b34c403839
#define MACHINE_NONCONTIG here, so all vm_*.c files see it timely.
1995-07-05 18:04:48 +00:00
pk
50755a7cc5
typos.
1995-07-05 17:53:41 +00:00
pk
8a8842dc58
remove __BDEVSW_DUMP_OLD_TYPE
...
#include <sys/cdefs.h>.
1995-07-05 17:46:11 +00:00
pk
337522fb97
Move dumpmmu() over here.
1995-07-05 16:35:42 +00:00
pk
c39b37a262
xd declarations.
1995-07-05 15:53:22 +00:00
pk
9013a7a6e2
Add xxread/xxwrite.
1995-07-05 13:34:10 +00:00
pk
deb17b0f15
make this compile better....
1995-07-05 13:06:33 +00:00
christos
38f1964478
Fix bug in the KGDB trap definition. Add svr4 software traps.
1995-07-04 22:58:51 +00:00
christos
1fc6525f9b
trap.c: Add svr4 software traps. Fix bug in errno mapping.
...
svr4_machdep.c: Add siginfo translation (from mrg), add some software traps.
1995-07-04 22:57:33 +00:00
paulus
374a7cc9cb
Add code to soft01intr to call pppintr.
1995-07-04 12:34:37 +00:00
pk
63eeefb6cd
make this compile better.
1995-07-04 10:29:22 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
christos
e7dcefc56c
Add the svr4 network cloning devices. Now telnet(1) works too. There are
...
still problems with X-windows programs.
1995-07-02 06:13:27 +00:00
christos
45d46cb0c9
svr4_machdep.c: Fix {get,set}context and sendsig.
...
locore.s: add signal trampoline code for svr4. There is a lot of code
duplication there. Maybe we should share the code?
SVR4 status now:
/bin/sh: works
/bin/ls: works
/bin/sleep: works
/bin/csh: gives unknown software trap 0xa7
/bin/ldd: works
1995-07-01 23:55:31 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
cgd
c83f9c5568
remove unused cpu_exec() definitions. moved "broken swap" markers, for
...
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd
d4a54b73d2
kill user-land DELAY macro, as suggested by gwr.
1995-06-28 02:43:36 +00:00
pk
09ea33db05
Do away with ROM printf.
1995-06-26 23:45:06 +00:00
pk
a50ba2b546
Adapt to new lib{sa,kern} regime.
1995-06-26 23:26:57 +00:00
pk
c7df493055
SMD disk driver, from Chuck Cranor.
1995-06-26 23:06:57 +00:00
pk
70b6d95d44
xd definitions, from Chuck Cranor.
1995-06-26 23:01:06 +00:00
pk
35ad7a1ff3
xd driver entries, from Chuck Cranor.
1995-06-26 23:00:32 +00:00
pk
4f4e4826a6
xd definitions, from Chuck Cranor.
1995-06-26 23:00:31 +00:00
pk
d918ea9e14
xd driver entries, from Chuck Cranor.
1995-06-26 22:59:54 +00:00
pk
3c17e9e63f
isbad(), for Chuck's new xd driver.
1995-06-26 22:57:29 +00:00
pk
34c8ad8c30
Define dvma_map{in,out}() to map a buffer into DVMA space. These are
...
safe for use at interrupt time.
Implement vmapbuf() and vunmapbuf() in terms of these new functions.
1995-06-26 22:46:04 +00:00