Commit Graph

275 Commits

Author SHA1 Message Date
scottr
91d8e018e2 Attach ite semantics to the appropriate grf device, instead of obio. 1996-08-05 01:26:31 +00:00
scottr
89f4fddbfe Add a way to tell grf_establish() that internal video doesn't actually
occupy a slot.  This is necessary so that GRFIOCMAP can find the correct
physical address of the framebuffer.  Fixes P550, some LC models, and
perhaps the PB520.
1996-08-04 06:03:47 +00:00
briggs
9f01fc6ee4 Add a comment about the last change. 1996-06-23 15:02:58 +00:00
scottr
08a2715e38 Test for serial console in adb_init() early, and abort if we're using it.
Initiialize ROM vectors regardless of this so that the PRAM RTC read and
write work regardless of whether a serial console is in use.
1996-06-21 06:10:56 +00:00
scottr
6c3aabe226 Update some comments, and the copyright 1996-06-19 01:47:28 +00:00
scottr
c72d612674 Deal with interrupt flags more carefully, and use the correct offset
for PB500-series SCSI I/O.  While I'm here, update the copyright.
1996-06-11 03:20:23 +00:00
briggs
9697ef6407 Add machine/viareg for prototype of via_set_modem(). 1996-06-09 04:27:59 +00:00
briggs
00c097a027 Changes from Bill Studenmund to support external clocks on the modem port. 1996-06-07 10:41:30 +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
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
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
534d58c701 Get rid of compiler warning if DBG_PID is not defined. 1996-05-22 17:16:45 +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
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
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
scottr
5b680d94ba Make this compile if DEBUG is defined. 1996-05-08 15:14:53 +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
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
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
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
db495102be Do not depend on the nubus being mapped in one huge segment. 1996-05-06 01:08:24 +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
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
eb335437e2 Ooops. ncr_sbcreg.h -> sbcreg.h 1996-04-25 23:47:06 +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
27c9c12e72 Clean up sbc_drq_intr() a bit; also, be more paranoid about size of transfer. 1996-04-23 14:20:28 +00:00
scottr
9d1cd5e9be Make this compile again; will need to deal with matchbyname() later, though. 1996-04-04 06:59:29 +00:00
briggs
1fa595a2f1 Clean up for higher warning level. 1996-04-01 01:35:48 +00:00
christos
933d138841 Change %r -> %: as for recursive printf's 1996-03-30 21:01:21 +00:00
briggs
b39b4939fc Fix minor oversight in a sanity check--caught by Jason, I think, and reported
by Scott.
1996-03-29 02:12:41 +00:00