Commit Graph

7569 Commits

Author SHA1 Message Date
mhitch 03c347c3bd More cleanup for -Wall warnings. 1996-04-28 07:01:08 +00:00
mhitch 0f666b973a More cleanup of -Wall warnings when compiled with DEBUG. 1996-04-28 06:59:08 +00:00
mhitch 810a98153e Add prototypes for serial and floppy interrupt functions. 1996-04-28 06:57:15 +00:00
mhitch c3fa50adb7 Fix warning from word transfer pseudo-dma function. 1996-04-28 06:49:35 +00:00
mhitch d48db213fa Prototype the pseudo-dma function declarations. 1996-04-28 06:41:01 +00:00
mhitch f7679aaef1 Fix warning from -Wall. 1996-04-28 06:36:16 +00:00
mhitch 2b6ece67ba Fix warnings from -Wall. 1996-04-28 06:33:58 +00:00
mhitch 5b9b315985 Cleanup for -Wall if CL5426CONSOLE is not defined. 1996-04-28 06:31:47 +00:00
mhitch 0fa2771b31 Correct check for NULL pointer references in siop_scsidone().
Only call Debugger() if DDB is defined.
If the wait for reselect is interrupted and sc_nexus was NULL, only
print the debug message if DEBUG is defined.
1996-04-28 06:28:24 +00:00
veego 2c2a65b39e Add a __noreturn__ attribute for doboot 1996-04-27 20:55:08 +00:00
veego c12ef8ae8f Make the compiler happy if you make a kernel with -Wall 1996-04-27 20:53:31 +00:00
veego dccff2509f Fixed a compile bug which come from the new mouse driver
Remove the fd* entry from the GENERIC config and changed the std.amiga
entry for the floppy
1996-04-27 20:51:07 +00:00
veego 0b892f0599 Fixed a compile bug which come from the new mouse driver
Fixed a bug with the noreturn attribute of boot and doboot
1996-04-27 20:48:47 +00:00
mark c4f10ac478 Fixed cpu_set_kpc() and pagemove() functions to match prototypes. 1996-04-27 03:00:27 +00:00
mark 10ec66cba0 No longer needed as this file has been replaced with the generic mouse
interface described in mouse.h
1996-04-27 02:09:16 +00:00
mark 0b44bb02a0 Removed prototypes for cpu_set_kpc(), cpu_swapin() and cpu_swapout() as
these are now defined in other header files.
1996-04-27 02:04:39 +00:00
thorpej 270d48fd22 Add "void" return type to consinit(). 1996-04-27 00:39:59 +00:00
thorpej 8591bb3346 Prototype doboot() and give it the __noreturn__ attribute, so that
machdep.c will compile.
1996-04-27 00:38:44 +00:00
mark f09d86fa87 Fixed compiler warnings generated with -Wall.
Added dump routines for dumping buffer and vnode information.
1996-04-26 22:49:21 +00:00
mark 0a05345dc3 Added needs-flag for the asc driver. 1996-04-26 22:46:07 +00:00
mark 6e054ed22f Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Moved the probing code that used the softc into the attach function.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:44:00 +00:00
mark fff1823ed8 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
1996-04-26 22:41:24 +00:00
mark 9a12d19953 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:38:11 +00:00
mark 4a3ceede5a Added function prototype for matchpodule(). 1996-04-26 22:34:02 +00:00
mark c18452b410 podulebus configuration code rewritten. Junked config_scan() from
the podulebus attach function.
For each podule found, config_found_sm() is now called. Device drivers
now only need to look at the podule_attach_args information during
the probe.
A new function matchpodule() has been added for use in the
podule device driver probe functions.
1996-04-26 22:32:36 +00:00
mark 027b04a250 Fixed compiler warnings obtained with -Wall. 1996-04-26 22:25:56 +00:00
mark a6da4ae69c Fixed compiler warnings generated with -Wall. 1996-04-26 22:01:51 +00:00
mark 504699a05d Added prototypes for cpu_swapin(), cpu_swapout(), tlbflush()
cpu_set_kpc() and need_resched().
1996-04-26 21:12:36 +00:00
mark 38b0e06483 Added prototypes for setsoftnet() setsoftast() and setsoftclock(). 1996-04-26 21:10:21 +00:00
mark b2d569c95e Fixed compiler warnings generated with -Wall. 1996-04-26 21:02:49 +00:00
mark 6a7f88f956 Included sys/systm.h for function prototypes. 1996-04-26 21:00:31 +00:00
mark aa46efbc0e Fixed compiler warnings obtained with -Wall. 1996-04-26 20:59:07 +00:00
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
scottr 27c9c12e72 Clean up sbc_drq_intr() a bit; also, be more paranoid about size of transfer. 1996-04-23 14:20:28 +00:00
cgd 59cdf4331e clean up some, and use new sioreg.h 1996-04-23 14:15:55 +00:00
cgd 8253c155fe hanges from Trevor Mendez <tmendez@bbn.com> to use new sioreg.h
header.  Also, I moved the LCA_SIO_DEVICE definition higher up in the
file.
1996-04-23 14:15:28 +00:00
cgd 84da7b5f97 Intel 82378 System I/O (SIO) Chip register defintions, cleaned up a
bit from a version supplied by Trevor Mendez <tmendez@bbn.com>.
1996-04-23 14:10:53 +00:00
cgd e9bbf69ff6 Changes from Trevor Mendez <tmendez@bbn.com> to add definitions of a
couple of registers useful for debugging.
1996-04-23 14:03:46 +00:00
cgd fea5e372e6 Corrections from hardware manual, from Trevor Mendez <tmendez@bbn.com>.
Adds comments and sets IOC_CONF correctly (it's write-only!).
1996-04-23 14:00:53 +00:00
cgd d8adbe4247 Changes from Trevor Mendez <tmendez@bbn.com> to make this compile
with NWSCONS == 0.
1996-04-23 13:57:55 +00:00
cgd 0895b8dd09 Changes from Trevor Mendez <tmendez@bbn.com> to print 0x's before hex
numbers when panic()ing because of a machine check, for sanity.
1996-04-23 13:54:32 +00:00
leo df8c6afda1 Ignore joystick packages when running in 3b. emulation mode. 1996-04-23 11:02:01 +00:00
veego d9b8ec83bd Ups, I removed a label which should go into a ifdef 1996-04-23 05:14:40 +00:00
scottr 509ace1016 Handle internal video interrupts on RBV-based machines differently so
that Ethernet cards have a chance to work.  In particular, this change
has been tested on the IIci, IIsi, and LCIII.  The crucial info behind
this code was the result of a lot of work by Julian Bean.
1996-04-23 03:53:26 +00:00
abrown 6b768c677a Now that we have lehwinit() for the Sun4m, make sure that we wait 20ms
after changing the cable type, as specified in the chip documentation.
Also, sanity-check that sc_dma is valid in case a Sun4m ever exists without
a ledma.
1996-04-22 03:57:29 +00:00
christos 90bc31d478 remove include of <sys/cpu.h> 1996-04-22 02:50:20 +00:00
christos a897ec996a Remove dependency on <sys/cpu.h> 1996-04-22 02:42:00 +00:00
christos bebf990150 Oops the name of the UTP/AUI bit changed under me... 1996-04-22 02:39:49 +00:00
christos 5253b892e9 Add a hardware dependent initialization function lehwinit()
to support selecting UTP media on sun4m
1996-04-22 02:37:10 +00:00
abrown 709298a10a - Changed Sun4m DMA chip support to detect and use maximum available SBus
burst size when transferring data.
- Changed ledma attach code to pay attention to the PROM's notion of what
  cable type is being used. Note that this patch does not fix the problem
  recently discussed on port-sparc; in most cases the PROM doesn't know
  what cable type is being used. The default is now TP rather than AUI,
  though. A complete fix is forthcoming.
1996-04-22 02:34:53 +00:00
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
veego a922ebfb8b - Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:13:16 +00:00
veego 974e9f6e22 - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
veego dbf4b28b74 Added support for multiple floppy drives
Added entry for the emplant scsi driver
1996-04-21 21:09:40 +00:00
veego db6f1b1304 Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:06:46 +00:00
ghudson 585e1044c8 aic0 belongs at IRQ 11 (the card default); the entry was apparently
changed to 12 by mistake when GENERIC was created after NetBSD 1.0.
Change confirmed by Perry and several others.  Fixes PR 1878.
1996-04-21 20:55:25 +00:00
leo 18dd6b0909 Prototypes. 1996-04-19 20:35:31 +00:00
leo f4e4aeed3c Check for curproc being NULL in pmap_remove(). 1996-04-19 20:33:01 +00:00
mark d4d9deb9d7 Added facility to dump the SCSI information from the asc driver. 1996-04-19 20:15:36 +00:00
mark e59df39537 Added asc_dump() function to dump the information gathered by the sbic
driver.
1996-04-19 20:13:56 +00:00
mark 0d0b8de238 Code fixes to get the sbic debugging code to compile. 1996-04-19 20:09:50 +00:00
mark 0e486086a5 Added information of the iic and rtc devices. 1996-04-19 20:04:29 +00:00
mark 7bbb222f40 Raise the spl level to spltty while manipulating the virtual console
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark c771d9f6c3 Config files updated for the new iic and rtc devices. 1996-04-19 20:00:41 +00:00
mark 584d8e9b80 Updated to reflect removal of iic and rtc code from arm32/ and the
creataion of the iic and rtc devices.
1996-04-19 19:57:49 +00:00
mark a65bd66705 Header file for IIC structures, prototypes and ioctls. 1996-04-19 19:52:46 +00:00
mark e51f620a83 Added IIC information for the PCF8583 RTC chip.
Added #ifdef guard on rtc prototypes.
1996-04-19 19:51:48 +00:00
mark 0b22968311 Initial commit of iic and rtc devices. 1996-04-19 19:49:03 +00:00
mark ab4a325e4c The iic and rtc are now devices and have been rewritten ane moved to the
mainbus directory.
1996-04-19 19:43:31 +00:00
mark 11fb5f4ba0 Added configuration information for character devices iic and rtc. 1996-04-19 19:40:29 +00:00
mark 85d47049cc Don't report time or 'clock has gain ...' message if the base time
was 0 in the inittodr() function.
1996-04-19 19:39:17 +00:00
mycroft 901483b57b Sigh. Send a trace trap only if we are still in VM86 mode. 1996-04-18 21:21:11 +00:00
mycroft 15d4e17598 Send a trace trap only if the trace flag is set at the *beginning* of
the emulated instruction.
1996-04-18 20:36:35 +00:00
mycroft 204542255a After an emulated instruction, check the trace flag and force a trace
trap if needed.
1996-04-18 19:58:09 +00:00
chuck 442dec5d53 new driver: SCSI for VME147
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>

	this driver is based on the amiga sbic/33C93 driver.   Steve has
	cleaned it up and fixed lots of bugs.    Note that the original driver
	used features which require at least a WD33C93A (the vme147 has the
	original WD33C93 chip <no 'A' suffix>).   Steve has also written
	the DMA routines for the 147 to get things really going.   Hardware
	scatter-gather DMA and sync. SCSI are not supported (yet).   tested
	on several disk drives and a tape drive.   CD-ROM untested, but
	should work.
1996-04-18 18:30:49 +00:00
chuck da32bd7fed add wdsc, enable FFS, move le 1996-04-18 18:14:32 +00:00
chuck f56be1680c add wdsc device 1996-04-18 18:07:58 +00:00
chuck a574a3a423 add PCC_ICLEAR 1996-04-18 18:07:08 +00:00
chuck 94b120dfa8 add a "delay" function.
XXX: assumes vme147 speed.   needs to be fixed and sync'd with DELAY.
	[will work with jason/hp300 to fix it properly]
1996-04-18 18:06:30 +00:00
chuck dbc3478277 establish a dk_establish() function. 1996-04-18 17:43:04 +00:00
mycroft 47bf863ac1 Make some of the flag handling clearer. No functional change. 1996-04-18 10:04:32 +00:00
mycroft aaed1c2fae Don't bother to enable alignment checking; nobody uses it and it interferes
with VM86 mode.
1996-04-18 09:58:13 +00:00
leo b3fadef7e0 Yet more prototyping and -Wall fixes. 1996-04-18 08:51:11 +00:00
mycroft 7a8c8f8a5c Turn off the alignment check flag when entering a signal handler. 1996-04-18 08:36:20 +00:00
cgd 7458364702 Implement the I/O read/write-multiple functions for chipsets
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd ff0a52ccd9 define bus_io_{read,write}_multi_{1,2,4,8} functions, which read/write
multiple values from a single I/O port in to/out of an array of values.
1996-04-18 05:47:29 +00:00
cgd e27e15d0ac change NLE flag for IOASIC LANCE buffer to NLE_IOASIC, and add comments 1996-04-18 00:59:11 +00:00
cgd 03d386daa7 attach le with different attributes, depending on parent (i.e. tc or
ioasic), and use those attributes to pull in appropriate files.
le_ioasic now has needs-flag, but le doesn't; the flag is only necessary
on systems configured with IOASIC-attached LANCE chips.
1996-04-18 00:55:15 +00:00
cgd d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
cgd 17731baa0d fix copyrights 1996-04-17 22:22:32 +00:00
cgd 69ad2e587b ioasic doesn't need a flag, and correctly conditionalize inclusion of
machines' tc configuration files.
1996-04-17 22:08:29 +00:00
cgd 71c7924099 clean up clock handling: clock drivers are now seperate from the
chip-independent clock code.  'clock' has been renamed 'mcclock'  'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
1996-04-17 22:01:16 +00:00
cgd a5778ae63b print cpu names slightly differently (number first) 1996-04-17 21:50:56 +00:00
cgd 0b0a8bfe15 fix bug in pcivga_erasecols() that would cause garbage to be spit out.
other minor style cleanup.
1996-04-17 21:49:58 +00:00
cgd d727565526 fill in the tty window size information, so that standard terminal
entries can be used with weird displays.
1996-04-17 21:48:30 +00:00
cgd 60add3dea0 update for current state 1996-04-15 19:00:46 +00:00
cgd 1bd905d710 include <sys/termios.h> to make <dev/isa/comvar.h> happy, and set the
serial ('com') console bit size and parity to be "cs8 -parenb".
1996-04-15 18:58:20 +00:00
mycroft e0afa4e4f9 Don't turn off the trace flag here; let sendsig() do it.
If in Linux emulation, send SIGSEGV for protection faults, rather than SIGBUS.
1996-04-15 00:20:32 +00:00
jonathan 274c2bd80d Add a prototype for generic_intr_establish(), the bus-independent
pmax interrupt-establish function.
1996-04-14 00:58:21 +00:00
jonathan 28986d8126 Add cdev_decl() declarations for the "dtop", "fb" , and "rcons" drivers. 1996-04-14 00:56:59 +00:00
jonathan 4a04d76c65 Fix the definition of TC_PHYS_TO_UNCACHED(addr): make it change a mips
kernel addressed to uncached space.

Add prototypes for pmax-specific TC functions used in probing for
a framebuffer console.
1996-04-14 00:55:19 +00:00
scottr ff35ddbb2a Update makeoptions to include 881 support 1996-04-13 19:12:46 +00:00
abrown a0b7376b16 Add prototype and fix return type of blink() so "options BLINK" works
with -Wall -Werror
1996-04-13 17:40:03 +00:00
cgd 98d92322b1 update for recent config changes: xxcd -> xx_cd 1996-04-13 00:31:37 +00:00
cgd cad6c2d600 capitalize IRQ names here, to match what's reported on boot 1996-04-13 00:25:24 +00:00
cgd 21ac0b2a36 update for new ISA/EISA/PCI/'bus' interfaces. Untested 1996-04-13 00:24:30 +00:00
cgd 161623e54e add (untested) support for EISA busses hanging off of PCEBs. 1996-04-13 00:23:34 +00:00
cgd f32c94e82c note that these IRQs are ISA IRQs 1996-04-13 00:22:58 +00:00
cgd c0b2b5595c Replace with completely new version derived from APECS code. No serious
bugs to fix (that i know of), just doing it that way was easiest.
1996-04-12 23:37:10 +00:00
cgd 56a6e33bb6 "Do over." Throw the old file away, replace it with a version hacked
from the current apecs_pci.c.  This new version hopefully works for
the same sets of devices that that previous one did, and hopefully
will work for multi-function devices and for secondary PCI busses as
well.  (looking at the code, there was no way the old one could have!)
1996-04-12 23:27:05 +00:00
cgd 435c2f935e config first, so there's someplace to cd to. 1996-04-12 20:27:42 +00:00
cgd ae42d9fdbd oops; forgot to remove a line of debugging/testing code 1996-04-12 20:22:14 +00:00
leo 6e40f439fc Part of restructuring done for 3-button mouse support. 1996-04-12 19:55:28 +00:00
chuck 4d91dc7c18 pull in ieeefp.h from m68k common area 1996-04-12 18:38:00 +00:00
chuck c7a59b578d sync with sun3 version 1996-04-12 18:35:40 +00:00
chuck 4420159d4c fix warning from gcc 1996-04-12 18:33:59 +00:00
jonathan f0d175fd22 Commit version that _really_ has only the innocuous fixes in the
last CVS message.

Possible uninitialized use of variables in the SII state machine,
requiring more thought, are still present.
1996-04-12 18:22:35 +00:00
jonathan f6897c8eb6 fixes for -Wall -Wmissing-prototypes:
pass 1 over pmax SII driver: change "MachEmptyWriteBuffer()" to
"wbflush()", add prototyped forward declarations.
1996-04-12 18:15:23 +00:00
leo 658385632c Prototyping. 1996-04-12 09:05:14 +00:00
leo e7ad591a96 misc.c ->stalloc.c 1996-04-12 08:57:43 +00:00
leo 7a18bb9542 Just give them more descriptive names. 1996-04-12 08:46:44 +00:00
mycroft ad790f628e Turn off the trace flag when delivering a signal. 1996-04-12 08:44:35 +00:00
leo 9402dcae81 Add 3-button mouse support. 1996-04-12 08:39:22 +00:00
leo e4a9d09efb Add 3-button mouse support. 1996-04-12 08:37:03 +00:00
cgd 576c769331 clean up copyrights and RCS IDs 1996-04-12 06:07:05 +00:00
mycroft 035e9c211e Use the flag mask in a somewhat more sane fashion. 1996-04-12 05:57:43 +00:00
cgd eb4de32615 Set up and pass isa chipset tag to ISA bus, when attaching.
Should do the same for EISA, when that support is finished.
1996-04-12 05:43:02 +00:00
cgd 98c183ff49 remove (hack) version of isa_intr_establish() 1996-04-12 05:41:50 +00:00
cgd 69d8f0e09a define all of the appropriate functions, as indirections through
a function switch.
1996-04-12 05:39:02 +00:00
cgd 0da2610536 this file is no longer used 1996-04-12 05:35:51 +00:00
cgd 931ec3829c partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet
complete, or tested.
1996-04-12 04:40:49 +00:00
cgd c6af4505f1 implement 'bus' functions for the CIA chipset. 1996-04-12 04:40:01 +00:00
cgd 647469cfbc update for new ISA/EISA/PCI and 'bus' interfaces. 1996-04-12 04:38:33 +00:00
cgd 125eefcd67 implement APECS and LCA 'bus' functions, and share them between the
two chipsets, since they're the same.
1996-04-12 04:36:12 +00:00
cgd 04645aa7ad chipset 'bus' functions that seem to be common to all host bus
adapters that exist in single-CPU systems.  APECS, CIA, and LCA
all use this, but with different #defines.
1996-04-12 04:34:59 +00:00
cgd ba7bbf8c30 update for new PCI, etc., interfaces 1996-04-12 04:33:06 +00:00
cgd be813334f8 (mostly) update for new PCI and 'bus' interfaces. 1996-04-12 04:32:10 +00:00
cgd b26a595361 update for new PCI, etc., interfaces. 1996-04-12 04:31:48 +00:00
cgd caa9d61d58 add indirect register definitions. 1996-04-12 04:31:08 +00:00
cgd 7b08107723 update for new PCI code, etc. As yet, untested. 1996-04-12 04:30:11 +00:00
cgd f357f1b38a partially update for new PCI & bus macros. update to deal with new
console glue.  Split out RAMDAC-specific code into seperate files.
1996-04-12 02:13:09 +00:00
cgd a52d1c3efe clean up for new ISA and 'bus' code, etc. 1996-04-12 02:11:22 +00:00
cgd c2ca361599 update for new ISA & PCI code, etc. 1996-04-12 02:09:51 +00:00
cgd 706b61a9a3 add some sanity checks to avoid lossage when dealing with unmanaged
pages, and clean up a little bit.
1996-04-12 02:09:24 +00:00
cgd de1319f259 define delay() here, rather than in clock.c 1996-04-12 02:07:52 +00:00
cgd 92c3ba0426 new entries for keyboard, mouse, and parallel printer 1996-04-12 02:07:23 +00:00
cgd 99841b9cdd cast return of phystok0seg() to a caddr_t, to suit uiomove proto 1996-04-12 02:06:21 +00:00
cgd 73378c1529 add rpcc entry point 1996-04-12 02:05:48 +00:00
cgd 26bf14c6fe update for new ISA & bus code, and clean a bit 1996-04-12 02:05:14 +00:00
cgd f0a062ba62 replaced by files in ../wscons 1996-04-12 02:02:06 +00:00
cgd 89579980e6 this has moved to ../include 1996-04-12 02:01:51 +00:00