Commit Graph

283 Commits

Author SHA1 Message Date
mhitch c871eb1ec2 Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
uses MSDOS MFM track encoding.  From Ezra Story (ezy@panix.com) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch bcb9d27216 More cleanup for -Wall with DEBUG. 1996-05-01 16:58:41 +00:00
mhitch b1d1cbe84b Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch bb91ff2547 Define BSR_MASK and use BSR_MASK to get the current bank select register. 1996-05-01 15:51:08 +00:00
veego b03bb4a6e5 Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
1996-05-01 09:59:24 +00:00
mhitch bcd490a50d Remove include of sys/cpu.h. 1996-04-30 06:09:51 +00:00
mhitch 74de027054 Add floppy index interrupt routine for future MSDOS floppy support.
Don't seek to track 0 before checking for diskchange:  if drive steps,
the diskchange flag is cleared.  Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +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 c12ef8ae8f Make the compiler happy if you make a kernel with -Wall 1996-04-27 20:53:31 +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 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
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
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +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
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
is 1ac76dc9c2 Typo in the new new config conversion fixed. 1996-04-05 15:53:41 +00:00
mhitch 3ce4de5491 Pass reserved blocks in label so adosfs computes root block
correctly (close PR 2232).
1996-04-05 05:08:07 +00:00
is a0d45384b6 The interrupt routine of the ivsc (and the empsc, which seems to have copied
it) looks truncated. At least the return(1) is missing, which I now add as
a first stopgap. Somebody needs to find out if anything else is missing for
these boards.
1996-03-28 19:23:32 +00:00
is 8435085f72 Adapt to new attach scheme. Fix operator precedence error. Normalize
function name prefixes.
1996-03-28 18:56:08 +00:00
is fa2b7f8f47 Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky. 1996-03-28 18:41:45 +00:00
mhitch e1d4601b24 Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
conversion function.
1996-03-24 04:12:27 +00:00
is a6a8779b4e It looks like the sense_data structure lost the extended_ prefix in the
name of some of its members. Adapt sbic.c to this. (Fixes PR 2245)
1996-03-23 15:09:54 +00:00
is 2ecf0a7b85 Interupts must be disabled and cleared before the PROM is read, as the int
line is shared with one of the PROMs address lines.
From PR #1478 by Jukka Marin.
1996-03-21 21:00:21 +00:00
is ab622e51f5 - Zeroth version of M68060 support (dont want to cause emulation traps for
the "Fast Assembler Version of the copy loop)
- Yet another sanity check included: initialize unused receive buffers to
  zero sender id; and test for sender hardware id of zero in the receiver.
  Gives us better error messages in case flaky hardware causes spurious
  receive interupts.
1996-03-20 13:28:50 +00:00
mhitch d2ac60afc0 A couple more misses from the device attachment changes:
afcd_cd --> afsc_cd
atzsccd --> atzsc_cd
1996-03-18 04:58:36 +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
mhitch 48118d719d Correct 53c710 initialization for the A4000T. Remove the A4000T probe
debugging output.
1996-03-15 22:11:09 +00:00
is ce4541b2da Altais graphics board support, and some nicer formatting of preconftab.
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is 006fe839fe Back out change intended for netbsd-1-1 and accidentally committed here 1996-03-06 16:40:16 +00:00
is 3020e66dd5 Fix problems with fast CPUs and Picasso boards. Patches originally by,
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
is 04145bfde8 Fix for newer S3 chipsets by Matthias Scheler (from -current). 1996-03-04 20:36:56 +00:00
is 7873fac590 Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
1996-03-04 19:49:11 +00:00
veego 39aeb2aa25 console driver for the CyberVision64 1996-03-02 14:28:51 +00:00
veego 18fd2ce9c2 Updated for the new CyberVision64 console
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
chopps 6ab6c3037d remove floating point expressions. gen_cvtab.c generates a conversion
table to replace a specific floating point expression in grf_cv.c
1996-02-24 20:13:00 +00:00
chopps 1bf748f356 use newly allocated ethernet address (fixes #2117) 1996-02-24 07:47:36 +00:00
chopps d1d39c63d4 remove local strncmp (fixes #2115) 1996-02-24 07:44:06 +00:00
chuck 623ec41006 Ensure siop_acb alignment via malloc rather than let alignment depend
on the size of MI data structures that come before it in the softc.
Chip will not function properly if alignment is wrong.  (as per OpenBSD)
Detected and fixed by: Chuck Cranor <chuck@ccrc.wustl.edu>
                and Michael L Hitch <osymh@gemini.oscs.montana.edu>
1996-02-03 18:47:07 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
chopps d00a79e34d fix bounds check #1939 1996-01-28 20:06:15 +00:00
chopps 9819a7c27e make sure master enable is set #1920 1996-01-28 19:48:39 +00:00
chopps f14299b866 fix loading of 0 to intended value of 256. closes 1871 1996-01-28 19:29:15 +00:00