Commit Graph

52 Commits

Author SHA1 Message Date
thorpej b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
jonathan 466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
is 6c7f702633 - remove one level of soft interupt in the software autorepeat code
- WOPEN -> wopen
1998-03-25 22:14:13 +00:00
is 85c6760e2d Initialize keyboard structures also from kbdopen(), if necessary.
To do this, move the flag variable to kbdenable().
This will make kernels with serial console provice a working keyboard driver.
1998-02-23 00:47:30 +00:00
thorpej 0b6e56ec02 Adjust for changes to config. 1998-01-12 10:39:01 +00:00
veego 94b6312429 Get rid of __BROKEN_INDIRECT_CONFIG. 1996-12-23 09:09:49 +00:00
christos ca36ac9ef4 backout previous kprintf change 1996-10-13 03:05:43 +00:00
mhitch 3831c5a790 KDASSERT is now in lib/libkern/libkern.h, so we don't need
amiga/amiga/kdassert.h.
1996-10-12 17:27:28 +00:00
christos 946833855f printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:51:21 +00:00
mycroft b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mhitch c16e87c7b7 Add tty_attach() calls for pstat -t. Closes PR #2519 1996-06-06 04:47:31 +00:00
is 1a41d54c27 Yet some more cleanup for missing prototypes, if DRACO is supported. 1996-05-19 19:03:01 +00:00
is f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +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
mhitch b00a2c1e30 Clean up typos and other errors from new device attachment changes. 1996-03-17 05:53:57 +00:00
thorpej 5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
mhitch a5c0ced572 Removed Debugger() declaration - the prototype is in sys/systm.h. 1996-03-16 08:19:43 +00:00
chopps d1d39c63d4 remove local strncmp (fixes #2115) 1996-02-24 07:44:06 +00:00
jtc 0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
chopps b2d4fa2dd3 cleanup warnings (fixes pr#1642) 1995-10-20 10:08:24 +00:00
chopps 78bd894529 add prototypes for isr stuff fixes pr# 1284 and 1569 1995-10-09 15:19:58 +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
chopps d25d16dd79 fix ITEIOC[GS]BELL and ITEIOCGREPT cases in iteioctl() 1995-05-14 14:26:00 +00:00
chopps 2ca98c3cb6 enable pseudo-dma on ivsc, allow no ite/grfcc. 1995-05-07 15:37:02 +00:00
chopps df9af2897a bring up-to-date with recent conf.c and sunos changes. 1995-04-23 18:24:21 +00:00
mycroft ab5eac8e84 Add dummy itestop(), and rename a few functions. 1995-04-10 09:11:41 +00:00
chopps b87e0d85e6 allow 8 bit chars in ite. 1995-03-02 04:41:51 +00:00
chopps 4726ce2818 consolidate the zbusses. le support for multiple tx buffs and full use of 32k
RAM. AGA dbl PAL mode added for console. Many changes to siop--most not
yet done. All from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-12-28 09:24:55 +00:00
chopps 548708dd80 bring up to current. change sun to sunos. handle changes in device
open params and autoconf match function params.
1994-12-01 17:24:23 +00:00
cgd ec77f0b327 new RCS ID format. 1994-10-26 02:01:24 +00:00
chopps de7b5347d1 some various fixes from ahh@netcom.com (Andy Heffernan) 1994-06-23 05:39:09 +00:00
chopps 779ae81038 fix boot diag output. 1994-06-16 14:28:42 +00:00
chopps 6729c03f86 some cleanup and various fixes for new fs code. plus some general
fixes from from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-06-13 08:12:30 +00:00
chopps c3cb65ac04 add grfrh (retina ziii) from Donn Cave <donn@u.washington.edu>
light cleanup from me.  floppy changes, should now be solid.
some changes to ite and ms to fix a couple bugs report by Donn.
1994-06-05 07:45:08 +00:00
chopps 6a73a3cd2e MIN/MAX->min/max 1994-05-31 03:11:42 +00:00
chopps b08b714bd3 general cleanup including boot diag messages. 1994-05-11 19:06:40 +00:00
chopps 0c5b43e133 update for recent sig changes and fix clock.c and ite.c 1994-05-09 06:38:37 +00:00
chopps 15d4cf6bf9 resistance is futile, you will be assimilated.
amiga goes: config.new *and* /sys/scsi.
clock code coerced into a single .c file adding an accurate usec delay().
disklabel.c updated to DTRT, code to write RDB's to be added soon.
sbic (old scsi) converted over to new scsi and config this covers about
90% of users.  Other drivers soon.
1994-05-08 05:52:54 +00:00
chopps 44458e5c43 yes ite is now auto margin, this fixes a conflict with the
termcap which has vt100 vt102 vt200 and v320 all as automargin.
1994-03-20 10:13:54 +00:00
chopps 76367c224e add LALT-LMETA-F10 to enter the kernel debugger. 1994-03-14 01:19:31 +00:00
chopps a7e85dfbd5 ack yucky dependenc on unit nums, temp hack for now. 1994-03-11 02:46:49 +00:00
chopps e27239fe91 toss chars instead of outputing when in GRF mode. 1994-02-21 09:34:19 +00:00
chopps 9c183bba91 fixed a couple minor bugs in con code for ite. added floptical support in
sd.c (based on patch from Andreas E. Heitman).
1994-02-21 06:30:36 +00:00
chopps 78bd633dc3 modified to use generic cons. (and some grf defs changed) 1994-02-17 09:10:32 +00:00
chopps 7bb75ba6be cleaned up include's relocated grf/* stuf to grfabs*. 1994-02-13 21:10:20 +00:00
chopps a245a4c9d3 ioctl's always pass proc. 1994-02-11 05:02:36 +00:00
chopps 71b833bb97 SCSI re-org, and misc. cleanup of compiler warnings. 1994-02-01 11:51:59 +00:00
mw bdb2629d63 Integrate recent changes done to the amiga branch. Includes support
for the '40.
Support for more scsi controllers (zeus, magnum)
Support for more tapes (in st.c)
New custom chip console code integrated.
1994-01-26 21:05:34 +00:00
mw 4e382ac007 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:53 +00:00
mw 3b2546cf2e new source release integrated from amiga-release. 1993-09-02 18:05:24 +00:00