Commit Graph

838 Commits

Author SHA1 Message Date
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
briggs 468b8f30c6 Get rid of the NuBus Superspace kludge--it should no longer be necessary
or even desirable.
1996-05-10 20:53:31 +00:00
scottr 5b680d94ba Make this compile if DEBUG is defined. 1996-05-08 15:14:53 +00:00
scottr e93e429cc5 Note that rtclock_intr() could be tweaked, but why it isn't. 1996-05-08 15:13:22 +00:00
briggs 8321085213 Minor fix to last patch--from Taras. 1996-05-08 13:36:41 +00:00
briggs 2b2cd22c69 Minor update from Taras Ivanenko <ivanenko@ctpa03.mit.edu>. 1996-05-08 04:00:44 +00:00
scottr 99e86ac209 Remove some gross hacks that were added due to interrupt grossness that
has been partially fixed.  Also, add a new flag (which rearranges them
a bit, unfortunately) to use PDMA for polled transfers.
1996-05-08 03:44:56 +00:00
briggs bfd10277d3 Wrap rtclock_intr in splclock()/splx() to make sure that hardclock is running
at splclock.  Passed along from Gordon via Scott.
1996-05-08 01:08:48 +00:00
briggs bcdf813a97 Initial cut at some ROM entry points for the MacTV. 1996-05-08 01:06:31 +00:00
briggs 40454f9798 A MacTV owner says that the MacTV is a repackaged Performa 550. Note this. 1996-05-07 21:21:11 +00:00
scottr 652b291390 - Rewrite scrollup(), scrolldown(), and clear_screen() to move/clear only
visible screen memory.  This results in a considerable performance win
  at all depths.
- Correct clear_screen() behavior when clearing to the top and bottom of
  screen; start at current cursor position, not current cursor row.
- Add local prototypes, and other KNF.
1996-05-07 15:52:19 +00:00
briggs 38b11e7c82 Get rid of some old, now meaningless macros. 1996-05-07 03:13:40 +00:00
briggs 8ed57c561e Clean up an error printf() and use proper macro. 1996-05-07 03:12:12 +00:00
briggs f56c26b14e No mac has a VAC. 1996-05-07 01:45:22 +00:00
thorpej 6de4db6bbc Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:08:15 +00:00
briggs af19dd53a3 This code has not been used in ages and there are at least 2 better 5380
drivers in the tree, now.
1996-05-06 22:34:09 +00:00
briggs 1d8ac2ad92 Update to something closer to the atari port. 1996-05-06 22:26:26 +00:00
scottr aef8f5c3bb Update for renamed sbc driver files 1996-05-06 06:40:03 +00:00
scottr c846476845 Update several comments. 1996-05-06 06:19:33 +00:00
briggs 18021dad20 Move grf0 at obio? from std.mac68k to the config files. Not all machine
have internal video.
1996-05-06 03:33:06 +00:00
briggs 03a7fd15ca grf0 -> grf* 1996-05-06 03:32:33 +00:00
briggs 314dd5b20b Set sc_slot--we need it later. 1996-05-06 03:27:20 +00:00
briggs 6026c5dfd7 Ooops. Remove debugging printf(). 1996-05-06 03:27:06 +00:00
briggs 042a16abd0 Add 1 page slop to the video length. Only reset mac68k_vidlog if non-zero. 1996-05-06 03:25:40 +00:00
briggs db495102be Do not depend on the nubus being mapped in one huge segment. 1996-05-06 01:08:24 +00:00
briggs 1b475d6b74 Do not print out the nubus ranges. We only use them for finding wierd
internal video locations.  Perhaps we can get rid of that in the future,
too.
1996-05-06 01:06:57 +00:00
briggs 333d8a1deb Do not allocate NuBus space at boot time. Do allocate enough space for
the console video, though.
1996-05-06 01:04:58 +00:00
briggs edd6e362c8 Pass struct fpframe * to m68881_restore(). 1996-05-05 17:19:04 +00:00
briggs 81db0f78d0 Remove extra prototype. 1996-05-05 16:50:34 +00:00
briggs f4bb6d51b2 Proto for lkmenodev(). 1996-05-05 16:39:24 +00:00
briggs 513a0d293b m68881_restore takes struct fpframe *, not int []. 1996-05-05 16:33:46 +00:00
briggs 2c9ba25cc1 Fix typo in last. 1996-05-05 16:21:20 +00:00
briggs 30023f7acd MicroSpeed mouse support from Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
Also some updates to actually used #defined constants instead of numeric
constants.
1996-05-05 14:33:55 +00:00
briggs 1febcb957e Prototype for sunos_sendsig() is now in sunos.h as suggested by veego. 1996-05-05 12:02:41 +00:00
briggs eb2ad19d6d Include pcb.h for prototypes. 1996-05-05 11:45:41 +00:00
briggs c02d890ef9 Move a few prototypes into machine/cpu.h. 1996-05-05 06:54:09 +00:00
briggs aad6e71194 Prototype for sunos_sendsig(). 1996-05-05 06:43:33 +00:00
briggs 37163421a3 Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
scottr b2af0c2297 Kill unused variables and fix prototypes. 1996-04-30 18:11:38 +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
scottr 5e7380a531 Remove trash left from a merge (probably really my fault). 1996-04-29 21:36:17 +00:00
briggs 340e30dfbb shuffle some and change rd to pseudo-device. 1996-04-28 19:18:42 +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 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
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
scottr 424ce7590a Sync with prototype changes 1996-04-24 18:02:26 +00:00