Commit Graph

19606 Commits

Author SHA1 Message Date
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
veego 03088f61b8 <sys/cpu.h> is no longer needed 1996-05-01 09:56:22 +00:00
jtc 0791e398aa Move invariant (!notrans) out of map alias loop 1996-04-30 22:50:53 +00:00
thorpej 0b637e93a8 Convert the Etherlink III (ep) driver to use <machine/bus.h>. 1996-04-30 22:29:56 +00:00
thorpej 9d91d0f742 Convert the Etherlink III (ep) driver to use <machine/bus.h>.
For the ISA probe, implement a way to keep track of which ISA busses
have been through an ep_isa probe; the static variable that was used
before didn't scale.
1996-04-30 22:27:58 +00:00
thorpej d614ab5859 Update the 3c507 probe to the new interfaces used by elink_reset()
and elink_idseq().
XXX This is just a kludge until the entire driver is converted to use
<machine/bus.h>
1996-04-30 22:21:54 +00:00
thorpej 91b4a6d401 Adapt the elink_reset() and elink_idseq() routines for <machine/bus.h>.
In elink_reset(), since some machines may have more than one ISA bus,
implement a way of keeping track of which ISA bus has received an
elink_reset(); The static variable which was used previously didn't
scale.
1996-04-30 22:16:27 +00:00
thorpej a787e8f99b Remove the dk_establish() prototype. It's (correctly) prototyped in
<sys/disk.h>.
XXX Wasn't this file supposed to go away?
1996-04-30 20:45:21 +00:00
scottr b2af0c2297 Kill unused variables and fix prototypes. 1996-04-30 18:11:38 +00:00
is af547471fe Give example for INSECURE option in the GENERIC config file in a comment.
Closes PR 2355 giving a different explanation of the option than proposed.
1996-04-30 17:40:34 +00:00
is 068f1fb582 We really have two mouse port units, honestly. 1996-04-30 17:25:42 +00:00
scottr b50e8aab63 - Drop SCSI IRQ interrupts if we are already handling one. This works around
a condition that occurs with some slow SCSI devices when they disconnect
  (e.g. the AppleCD 600), generating spurious selection interrupts.
- Reorganize the debugging code slightly.
1996-04-30 17:07:17 +00:00
briggs 9cdce38dd0 Bring back Step9 and fix an oversight from Ken Nakata <kenn@remus.rutgers.edu> 1996-04-30 12:02:54 +00:00
briggs 6d6bfccb69 Clean up a few printf format strings. 1996-04-30 11:57:49 +00:00
briggs 9602c596f5 Prototype oc_cksum(). 1996-04-30 11:57:05 +00:00
briggs 41f393e6b8 Update for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized. 1996-04-30 11:52:09 +00:00
mycroft 7511a5540e Remove BIOSSEG.
Don't mess with the flags when entering a software interrupt.
Use IF, not VIF.
NOTE: These changes break dosemu, but are required for proper emulation.
1996-04-30 10:35:25 +00:00
mhitch bcd490a50d Remove include of sys/cpu.h. 1996-04-30 06:09:51 +00:00
mhitch 1f2555ebd4 dk_establish() now returns void. 1996-04-30 05:00:51 +00:00
thorpej 3fff2a8f83 Fix apparent paste-o ... spurious "}" 1996-04-30 00:56:45 +00:00
pk ca9e50f43b Don't get distracted into kernel space.
Understand MNT_ROOTFS flag.
1996-04-30 00:41:51 +00:00
jtc 678bd1b2eb Use XS, not XC, flags when setting tty flags.
From Brook Milligan <brook@trillium.nmsu.edu>.
1996-04-30 00:07:00 +00:00
scottr 5e7380a531 Remove trash left from a merge (probably really my fault). 1996-04-29 21:36:17 +00:00
jtc c2ad7fffa8 Changed rules used for converting rpc source (*.x) to *.c and *.h so
that rpcgen invocation is not hidden.  There is no reason to hide it,
and it might be useful.  For example, this makes the make -n output
much more useful.
1996-04-29 21:11:24 +00:00
pk fa75ea39e1 Move delay() to locore, so we control code generation and can avoid
touching memory locations whose caching disposition can perturb timings.
1996-04-29 21:08:37 +00:00
leo b926918576 There seem to be 2 types for a trap frame.... 1996-04-29 20:55:44 +00:00
jtc 146f9344c8 Echo install commands, so user knows what is being installed.
Suggested by cgd.
1996-04-29 20:52:52 +00:00
leo dc05f2d48c Prototype + -Wall fixes. 1996-04-29 20:50:08 +00:00
jtc 022978656f Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-29 20:32:24 +00:00
christos a1609dc859 - Fix gcc -Wall warnings
- BUG: if (error = ...() == EWOULDBLOCK)
1996-04-29 20:30:48 +00:00
christos 1c86bef3bc Fix gcc -Wall warnings. 1996-04-29 20:28:40 +00:00
christos e8a8a6298c - prototype fixes 1996-04-29 20:02:32 +00:00
christos d0987b1ee9 - prototype fixes
- BUG: changed:
	   val &= CD_POL_MASK;
	   val |  CD_POL_BIT;  /* XXX if (pol) */
  to:
	   val &= CD_POL_MASK;
	   val |= CD_POL_BIT;  /* XXX if (pol) */
1996-04-29 20:00:39 +00:00
christos 27292adc4c - gcc -Wall fixes 1996-04-29 19:50:47 +00:00
christos c32e566f6c - missing argument in printf
- gcc -Wall fixes
1996-04-29 19:48:26 +00:00
christos f1dd12ed4e Prototype fixes 1996-04-29 19:45:32 +00:00
christos 3a77c25f3e Add prototypes. 1996-04-29 19:30:50 +00:00
christos 3f3082e5f5 Add a clean target to clean the assembler binary 1996-04-29 19:30:19 +00:00
cgd 4335844690 fix botched printf spacing in last change. 1996-04-29 16:36:19 +00:00
cgd 6deeeb8a0f update for dk_establish() proto change 1996-04-29 16:34:50 +00:00
cgd b2ab71db24 fix definition of the "Primary Eligible" RPB PCS processor variation field. 1996-04-29 16:23:09 +00:00
cgd 5e0ec7280a clear BIP; it should really happen at end of autoconfiguration. 1996-04-29 16:09:28 +00:00
cgd 48fca88c3a fix printf bogon (need : and space) 1996-04-29 16:06:38 +00:00
cgd f22c1ccb83 clean up setting of the default tty cflag. don't do the "delay if
high bit set" thing.
1996-04-29 14:48:25 +00:00
pk 697ae24a44 bump minor version to 5 (addition of futimes(2)). 1996-04-29 12:12:50 +00:00
pk e147a74bbb Chip needs much more time to think things over (up to 2 seconds to complete
a `recalibrate' command if no flop present).
1996-04-29 12:07:32 +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 d6d4fbe664 Correct NetBSD->RDB partition block mapping - fixes -Wall warning. 1996-04-29 06:15:32 +00:00