Commit Graph

873 Commits

Author SHA1 Message Date
briggs 4498ce3c90 Add constants for booter interface. 1996-06-07 10:27:19 +00:00
briggs 0d0487a98b Wait longer (2.5 sec) in wait_req_true/false. Some targets take a long time. 1996-06-07 02:44:15 +00:00
briggs 5c13e7184b Fix a typo. 1996-06-07 01:45:43 +00:00
briggs 79309c78d8 Patches from Bill Studenmund to get serial default settings from the booter. 1996-06-07 00:15:24 +00:00
briggs 6959d64eeb Some more constants from Bob Nestor--MacTV ADB works, now. 1996-06-04 03:04:49 +00:00
scottr d9953b15c4 Minor cosmetic cleanup left over from reverting interrupt handlers 1996-06-01 06:10:34 +00:00
scottr 701205b00d Add tty_attach() as appropriate (for pstat -t) 1996-06-01 00:13:39 +00:00
scottr cac1b831e9 - Simplify writes in sbc_drq_intr().
- When finished writing, if the SCSI bus has BSY asserted, write another
  byte to the SBC to ensure we get an interrupt.
- Unflag SCSI interrupts on the VIA whenever we clear the interrupts
  on the SBC itself.
1996-05-29 14:26:33 +00:00
briggs 014b404127 Clean up the interrupt handling somewhat. 1996-05-25 16:42:24 +00:00
briggs 100623915b Clear via2 interrupts before processing, too. It is up to the drivers to clear
any interrupts that are flagged during processing.
1996-05-25 16:31:04 +00:00
briggs d6345a7855 More from Dave Huang (khym@bga.com)--set ROMLEN to 2MB and make another
class for AV machines (C660AV and Q840AV).
1996-05-25 14:48:38 +00:00
briggs 30e64f90b7 Patches from Dave Huang (khym@bga.com) to get MRG ADB working on his 660av. 1996-05-25 14:45:31 +00:00
briggs 10221fc1cd Do not let getty open ite if it's not been initialized. 1996-05-25 00:56:38 +00:00
briggs 78560abd91 Change the console banner message. 1996-05-23 05:18:48 +00:00
briggs 2126c0d3c1 Fix from Bill Studenmund to set flags sanely on serial console. 1996-05-23 02:06:53 +00:00
briggs 320adf52bf Add MACH_CLASSDUO. 1996-05-22 17:53:24 +00:00
briggs 4d059305ec Remove some dead code, as suggested by scottr, and clone a new machine
class off of the powerbook for the Duos.  They apparently use an RBV-like
chip for the VIA2.
1996-05-22 17:52:48 +00:00
briggs 534d58c701 Get rid of compiler warning if DBG_PID is not defined. 1996-05-22 17:16:45 +00:00
briggs 057adea27d Apparently the MRG ADB code becomes unstable if we handle via1 interrupts
properly, so go back to unflagging them all before processing any via1
interrupts.  Perhaps this can be changed back when we get ADB code that
does not rely on the ROMs?
1996-05-21 02:46:02 +00:00
briggs 3fb1d834fc Actually clear the interrupt on the RBV. 1996-05-21 00:04:18 +00:00
scottr 4b712a8c3f Due to the latching effect of the 6522 (VIA) chip, we need to unflag
interrupts only after the condition that caused the interrupt has been
cleared.  This is a particular problem with the 5380 SCSI controller,
since the Mac glue logic may raise (e.g.) the SCSI DRQ interrupt a number
of times during the course of a normal transfer.  By waiting to unflag it,
we effectively ignore all but the first.
1996-05-20 04:32:33 +00:00
scottr d28f9a6699 Fix the last change; CVS apparently biffed it. 1996-05-20 03:23:36 +00:00
scottr 820895162d Update for new grf attachment code. 1996-05-19 22:29:04 +00:00
scottr d048582c60 New grf attachment code, mostly by Jason Thorpe with some cleanup by me.
This will allow dt and X to work with a generic kernel, rather than
compiling different kernels that attach grf0 to a NuBus adapter or
internal video.
1996-05-19 22:27:04 +00:00
briggs 4029840249 Ooops. cut 'n' pasto. splzs should 4, not 2. 1996-05-19 04:30:32 +00:00
briggs 2635a9c602 Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver.  When that driver is updated, the local copy
of those files may be removed.  From Bill Studenmund.
Compiler warnings fixed by me.
1996-05-18 18:53:50 +00:00
briggs 78c78f916e Fixup a few prototypes and put 'em in their place. 1996-05-18 18:52:41 +00:00
christos 8c29c79939 - remove cpu_exec_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 16:01:00 +00:00
briggs e9d5ab8b3a Set _kernel_text as recommended by Gordon--set before vector table. 1996-05-17 02:11:47 +00:00
briggs df57030b9c Add register use constraints to a bunch of asm() statements. 1996-05-15 03:23:10 +00:00
briggs 1350f9fb7d print the failure if we do not correctly determine the amount of RAM
on the ethernet card.
1996-05-15 03:20:22 +00:00
briggs 65b1980d5a Invalidate the pte for the peeked va in bus_peek(). 1996-05-15 02:51:00 +00:00
briggs 22637072e3 Set mac68k_vidphys outside of get_mapping() so the II and others will
get the default value correctly.
1996-05-15 02:34:33 +00:00
briggs df2dde6eb0 Some updates from Bob Nestor <rnestor@metronet.com> to get the Performa 550
working again.  I broke it when I moved the ROM mapping so it was no
longer mapped on a friendly address boundary.  Some cleanup.
1996-05-14 04:00:48 +00:00
briggs ce096d50d5 Add a short comment. 1996-05-14 03:57:32 +00:00
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