Commit Graph

7387 Commits

Author SHA1 Message Date
mark
8b4332315d Fixed buffering of console output. While cold or while polling,
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark
189e6aba9f Fixed a multitude of compiler warnings obtained with -Wall (mainly
unused variables).
1996-04-26 20:48:23 +00:00
mark
a88f28f958 Updated functions to match prototypes in sys/systm.h 1996-04-26 20:35:23 +00:00
mark
9e67e6e232 Included ddb/db_output.h for db_printf() prototype.
Fixec compiler warnings generated with -Wall.
1996-04-26 20:30:54 +00:00
mark
8cce48f9a3 Included ddb/db_output.h for db_printf() prototype.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:28:28 +00:00
mark
3b62994c10 Include ddb/db_output.h for db_printf prototype.
Replaced some printf calls with db_printf calls.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:25:55 +00:00
mark
bebcb9b554 Removed unused variable ptr in swapconf(). 1996-04-26 20:22:52 +00:00
is
a0864f1ad0 Remove double empsc entry, fix a typo, and our "zbus" is a unified Zorro
bus interface for a long, long time.
1996-04-26 20:21:59 +00:00
chuck
e305bdb71c switched to MI driver 1996-04-26 19:55:39 +00:00
chuck
08b3f74e0d nuke old isr structure (no longer use) 1996-04-26 19:44:03 +00:00
chuck
81fc59565a cpu.h: add prototypes (from jason)
disklabel.h: new disklabel format (from Dale Rahn)
param.h: new delay stuff (from sun3 port)
vmparam.h: nuke eiomap for new autoconfig (from jason)
z8530var.h: for MI driver (from jason)
1996-04-26 19:40:53 +00:00
chuck
46263136cb "jumbo patch":
- new autoconfig scheme+vme (autoconf.c,clock.c,clockreg.h,
	clockvar.h,vm_machdep.c)
 - new interrupt scheme (isr.c,isr.h,locore.s,machdep.c,vectors.s)
 - switch to MI zs driver (conf.c)
 - new disklabel code, from Dale Rahn <drahn@pacific.urbana.mcd.mot.com>
	(disksubr.c, compatable with theo and dale's openbsd version)
 - new delay() based on sun3 port, using dynamic configuration from
	the sparc port (intergrated by me), calibration moved to startup
	by jason.  (locore.s,machdep.c)
 - clean up: nuke eio space (genassym.c,locore.s,pmap.c,pmap_bootstrap.c),
	nuke STACKCHECK (locore.s), prevent maxuser overflow (pmap.c),

Contributed by Jason R. Thorpe <thorpej@og.org>  (thanks!)
1996-04-26 19:26:25 +00:00
chuck
6d3c0d5c50 remove iio files; replaced by jason's new autoconfig scheme 1996-04-26 19:04:28 +00:00
chuck
7625dd4cb4 remove mainbus.c: never actually used 1996-04-26 19:03:28 +00:00
chuck
d80422cd46 - zs: switch to MI driver
- clock, le, pcc, wdsc, zs: convert to new autoconfig scheme
 - vme: add vme support

Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:59:58 +00:00
thorpej
34c1e309b6 Yes, folks, there was a REASON that maxusers -> 32 slipped through the
cracks when I mentioned it to Chris.  (Read: it doesn't work.)
1996-04-26 18:54:15 +00:00
chuck
ba1034fd85 - sync with new autoconfig code (iio goes away)
- add support for zs1, vme devices (untested)

Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:47:34 +00:00
gwr
dd27878e7f Catch up with some prototype changes. 1996-04-26 18:37:58 +00:00
gwr
035d12359e Remove some hacks that "went around" the linesw[] operations. 1996-04-26 18:36:54 +00:00
leo
b26b45a14d Corrections for removed <sys/cpu.h> and some more prototypes. 1996-04-26 06:59:15 +00:00
leo
7f0e5ecf77 - Fixup the ipending function for the Falcon. This seemed to be the source
of a lot of instability problems on the Falcon. I also enabled DMA on
  interrupt basis for the Falcon.
- Try to handle targets that request too much data more sanely.
- Some fixups for strict prototypes + -Wall

Thanks to Markus Kilbinger for providing the debugging support.
1996-04-26 06:50:12 +00:00
thorpej
2931555121 Correction I mentioned to Chris that slipped through the cracks...
maxusers -> 32.
1996-04-26 00:53:08 +00:00
scottr
eb335437e2 Ooops. ncr_sbcreg.h -> sbcreg.h 1996-04-25 23:47:06 +00:00
scottr
90b5a113d9 Renamed the sbc driver files 1996-04-25 22:30:10 +00:00
scottr
aca6a2e6da Renamed these files. 1996-04-25 22:26:52 +00:00
scottr
95101e1310 Renamed these files. 1996-04-25 22:02:58 +00:00
scottr
a0bca74134 Remove some now-useless code. 1996-04-25 21:18:04 +00:00
scottr
5282131d76 Add ie1, appropriate for EtherExpress support 1996-04-25 20:14:13 +00:00
thorpej
09407a4201 Document the VM86 option by adding it to the GENERIC* kernel config
files.  Note, the option is disabled by default (comment out).  This
is meant as an example for others.
1996-04-25 18:59:14 +00:00
scottr
18fd76201e We don't need to enforce the MAX_DMA_SIZE limit in dma_alloc();
this is handled properly by sbc_drq_intr() already.
1996-04-25 14:40:26 +00:00
mycroft
f1f45fae7c Emulate the INTO instruction. 1996-04-25 13:50:21 +00:00
scottr
2e936aa8ff - Remove several hacks that didn't do much but waste cycles.
- Disable interrupt-driven PDMA when writing (use polled PDMA instead).
- Be more careful about when to flag a transfer as completed.

The result of these changes is that interrupt-driven PDMA works well
enough to bring the system up.
1996-04-25 06:18:41 +00:00
veego
f726c602da another prototyp cleanup 1996-04-25 05:57:38 +00:00
cgd
72e70ce045 update for present reality 1996-04-25 04:28:04 +00:00
thorpej
aff40e2a72 Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver.  Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
christos
b8a3e738c6 Make the minimum function signature for this file to compile with the latest
changes to vm_extern.h.
1996-04-25 01:15:41 +00:00
cgd
3e07e4275a clean up and improve instructions, update to reflect current reality. 1996-04-25 00:11:09 +00:00
scottr
424ce7590a Sync with prototype changes 1996-04-24 18:02:26 +00:00
is
09916f81d3 Make the Amiga mainboard mice, which used to be pseudo-devices, real devices.
(We want to support Amigoids without this interface in the near future.)
1996-04-24 11:41:16 +00:00
veego
463c504dc7 The prototyp for cpu_set_kpc is now in sys/systm.h 1996-04-23 22:54:49 +00:00
veego
112379ef29 Added some ifdef's for RETINA_SPEED_HACK
Argh, why is a fuction from the RetinaZ2 console driver in the console
driver for the RetinaZ3 ? Fixed.
Fixed some warnings from -Wall if you don't use -DDEBUG
1996-04-23 22:53:05 +00:00
veego
1ca9fb10a0 The prototyp of cpu_coredump is now in sys/signalvar.h
Added an ifdef DEBUG for struct phys_segs
1996-04-23 22:46:39 +00:00
pk
646acc51d0 Map the pixels explicitly on the VME32 bus. 1996-04-23 19:34:05 +00:00
pk
ee8f3dc1b8 Turn delay() into a calibrated loop. It's more accurate and compiles into
a `leaf' routine, avoiding unexpected large delays by overflowing the
register windows.
1996-04-23 19:25:25 +00:00
is
0536f1591a Protect two critical lines of ser.c with splser(). Without this, a
race condition exists which makes the internal serial drop incoming
characters under heavy load.
1996-04-23 17:03:04 +00:00
is
5b809af42a Changed the speed calculations of the Amiga-builtin-serial driver to
allow any baudrate the hardware allows, and to forbid two baudrates
(50 and 75) which the hardware does NOT support but which the old
speed conversion table pretended to support.
1996-04-23 16:38:32 +00:00
chuck
edda199ab0 patch from: Steve Woodford <steve@mctavish.demon.co.uk>
fixes the following problems:
   - Timeout on START/STOP unit command (ie. when spinning up the drive)
     Side effect of this fix is to reduce the busy-wait time in CMD phase.

   - Occasionally, the driver would lose an SBIC interrupt, especially when
     a tape drive was re-selecting on a busy SCSI bus.
1996-04-23 16:32:54 +00:00
cgd
7bc9a18250 prototyping cleanups 1996-04-23 15:26:06 +00:00
cgd
58a104f26a pal_halt doesn't return; give it a noreturn attribute.
Mark assembly that uses 'mb' as clobbering memory (pthreads does, and
it can't hurt).
1996-04-23 15:24:09 +00:00
cgd
5437babf6c prom_halt doesn't return; give it a noreturn attribute 1996-04-23 15:23:18 +00:00